aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sockfilt.c3
-rw-r--r--tests/server/sws.c3
-rw-r--r--tests/server/util.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index e177c676e..61cd235b5 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -75,6 +75,9 @@
#include <netdb.h>
#endif
+#define ENABLE_CURLX_PRINTF
+/* make the curlx header define all printf() functions to use the curlx_*
+ versions instead */
#include "curlx.h" /* from the private lib dir */
#include "getpart.h"
#include "inet_pton.h"
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 852b27a2e..161cea678 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -55,6 +55,9 @@
#include <netdb.h>
#endif
+#define ENABLE_CURLX_PRINTF
+/* make the curlx header define all printf() functions to use the curlx_*
+ versions instead */
#include "curlx.h" /* from the private lib dir */
#include "getpart.h"
#include "util.h"
diff --git a/tests/server/util.c b/tests/server/util.c
index 3fea37c46..a3894cb44 100644
--- a/tests/server/util.c
+++ b/tests/server/util.c
@@ -48,6 +48,9 @@
#include <netdb.h>
#endif
+#define ENABLE_CURLX_PRINTF
+/* make the curlx header define all printf() functions to use the curlx_*
+ versions instead */
#include "curlx.h" /* from the private lib dir */
#include "getpart.h"
#include "util.h"