From 9f6c4daa27323603368907d31ed6a4c6e1aa9179 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 2 Feb 2010 07:01:21 +0000 Subject: [PATCH] include headers --- tests/libtest/lib571.c | 16 ++++++++++++++-- 1 file 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 +#endif +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_NETDB_H +# include +#endif +#ifdef HAVE_ARPA_INET_H +# include +#endif #ifdef HAVE_SYS_STAT_H -#include +# include #endif #ifdef HAVE_FCNTL_H -#include +# include #endif #include