aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/libtest/test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index 1e5b67c96..0451f88ca 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -2,5 +2,11 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_CONFIG_H
+/* Now include the config.h file from libcurl's private libdir, so that we
+ get good in-depth knowledge about the system we're building this on */
+#include "config.h"
+#endif
+
extern char *arg2; /* set by first.c to the argv[2] or NULL */