From: Daniel Stenberg Date: Wed, 12 Mar 2003 08:54:45 +0000 (+0000) Subject: Add include files to prevent warnings on some (HPUX) systems. X-Git-Tag: curl-7_10_4~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f317f8b149c170be732670f8239812854e8c0f03;p=curl Add include files to prevent warnings on some (HPUX) systems. --- 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 +#endif +#include +#include + /* * 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 +#endif +#include +#include + /* * Source code in here hugely as reported in bug report 651464 by * Christopher R. Palmer.