aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-02 07:01:21 +0000
committerYang Tse <yangsita@gmail.com>2010-02-02 07:01:21 +0000
commit9f6c4daa27323603368907d31ed6a4c6e1aa9179 (patch)
tree6ee57928e7b11c5413e227de8ac5d5342280a2bc
parentea7219465094d72bb7211a5d71ecd0a201f9ca53 (diff)
include headers
-rw-r--r--tests/libtest/lib571.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/libtest/lib571.c b/tests/libtest/lib571.c
index 7fa85b2ab..f69151467 100644
--- a/tests/libtest/lib571.c
+++ b/tests/libtest/lib571.c
@@ -10,11 +10,23 @@
#include "test.h"
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+#ifdef HAVE_NETDB_H
+# include <netdb.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
+# include <sys/stat.h>
#endif
#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
+# include <fcntl.h>
#endif
#include <curl/mprintf.h>