diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index a6f5d3f2c6..c77e084bcb 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 f6a066570f..d340c509c5 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.