diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-12 08:54:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-12 08:54:45 +0000 |
commit | f317f8b149c170be732670f8239812854e8c0f03 (patch) | |
tree | 01876fc4747f011466eeebe2acdd356c09428506 | |
parent | f8d552dde584b2615143a258e624d85a911c7a65 (diff) | |
download | curl-f317f8b149c170be732670f8239812854e8c0f03.tar.gz |
Add include files to prevent warnings on some (HPUX) systems.
-rw-r--r-- | tests/libtest/lib503.c | 6 | ||||
-rw-r--r-- | tests/libtest/lib504.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index a6f5d3f2c..c77e084bc 100644 --- a/tests/libtest/lib503.c +++ b/tests/libtest/lib503.c @@ -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. diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index f6a066570..d340c509c 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -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. |