]> granicus.if.org Git - curl/commitdiff
Add include files to prevent warnings on some (HPUX) systems.
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Mar 2003 08:54:45 +0000 (08:54 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Mar 2003 08:54:45 +0000 (08:54 +0000)
tests/libtest/lib503.c
tests/libtest/lib504.c

index a6f5d3f2c6ec9c797f1720b52527cc3818b88c36..c77e084bcbe1b31864f9e202476708017d3ab046 100644 (file)
@@ -1,5 +1,11 @@
 #include "test.h"
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#include <sys/time.h>
+#include <sys/types.h>
+
 /*
  * Source code in here hugely as reported in bug report 651460 by
  * Christopher R. Palmer.
index f6a066570f0b273724300b6b35f23a119bc6d7b7..d340c509c52ad096877253a8bb0b4818d920b6f6 100644 (file)
@@ -1,5 +1,11 @@
 #include "test.h"
 
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#include <sys/time.h>
+#include <sys/types.h>
+
 /*
  * Source code in here hugely as reported in bug report 651464 by
  * Christopher R. Palmer.