aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/test.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
committerYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
commita0b207164c6c943adb8b3bf89b375a491b41806a (patch)
tree4b28e66f9b15d8e86cddd8ad4656ed3cf0ac9a90 /tests/libtest/test.h
parentf254c59dc7d3559d062c00704e00431bc4504b67 (diff)
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of top two most included header files now done in setup_once.h
Diffstat (limited to 'tests/libtest/test.h')
-rw-r--r--tests/libtest/test.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/libtest/test.h b/tests/libtest/test.h
index ffa4be166..fcc91ad8b 100644
--- a/tests/libtest/test.h
+++ b/tests/libtest/test.h
@@ -30,21 +30,11 @@
#include "setup.h"
#include <curl/curl.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
#ifdef HAVE_SYS_SELECT_H
/* since so many tests use select(), we can just as well include it here */
#include <sys/select.h>
#endif
-#ifdef HAVE_UNISTD_H
-/* at least somewhat oldish FreeBSD systems need this for select() */
-#include <unistd.h>
-#endif
#ifdef TPF
# include "select.h"