aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/test.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index 8a6c02130..b0b119e5b 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -1,7 +1,9 @@
#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"
+/* Now include the setup.h file from libcurl's private libdir (the source
+ version, but that might include "config.h" from the build dir so we need
+ both of them in the include path), so that we get good in-depth knowledge
+ about the system we're building this on */
+#include "setup.h"
#endif
#include <curl.h>