aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-12 08:54:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-12 08:54:11 +0000
commitf8d552dde584b2615143a258e624d85a911c7a65 (patch)
tree9503e2df1425e5cb1e655cc30e013558da1736aa /tests
parent606f72bb1346af228db4079f690ff3ba7af42844 (diff)
include "config.h" from the lib's private dir
Diffstat (limited to 'tests')
-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 */