summaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-16 16:01:19 +0000
committerYang Tse <yangsita@gmail.com>2007-02-16 16:01:19 +0000
commit4894ce16fc7af89d876e2f70db4dded7e1663198 (patch)
tree87d862afccc642c48f55d7549160859401b3face /tests/libtest/test.h
parentaa4435c23b008450124d8c015e896d1002cb93ca (diff)
downloadgnurl-4894ce16fc7af89d876e2f70db4dded7e1663198.tar.gz
gnurl-4894ce16fc7af89d876e2f70db4dded7e1663198.tar.bz2
gnurl-4894ce16fc7af89d876e2f70db4dded7e1663198.zip
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index fa32d6d88..5e298abbd 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -8,18 +8,17 @@
* $Id$
*/
-#ifdef HAVE_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>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <errno.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>