summaryrefslogtreecommitdiff
path: root/tests/server/fake_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-07-26 19:42:16 +0200
committerYang Tse <yangsita@gmail.com>2011-07-26 19:42:16 +0200
commit78bbd0eecff23203dd8a1aa2dd76143af9a90b7b (patch)
tree7012069d3acc2b88a1ba09bc202fb3a4eb454fc6 /tests/server/fake_ntlm.c
parentf1586cb4775681810afd8e6626e7842d459f3b85 (diff)
downloadcurl-78bbd0eecff23203dd8a1aa2dd76143af9a90b7b.tar.gz
fix compiler warning
Diffstat (limited to 'tests/server/fake_ntlm.c')
-rw-r--r--tests/server/fake_ntlm.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/server/fake_ntlm.c b/tests/server/fake_ntlm.c
index 624ec6b1c..de7110636 100644
--- a/tests/server/fake_ntlm.c
+++ b/tests/server/fake_ntlm.c
@@ -27,14 +27,22 @@
* responses with a pre-written string saved in test case test2005.
*/
-#include <stdio.h>
-#include <errno.h>
+#define CURL_NO_OLDIES
+
+#include "setup.h"
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+#define ENABLE_CURLX_PRINTF
#include "curlx.h" /* from the private lib dir */
#include "getpart.h"
#include "util.h"
+/* include memdebug.h last */
+#include "memdebug.h"
+
#ifndef DEFAULT_LOGFILE
#define DEFAULT_LOGFILE "log/fake_ntlm.log"
#endif