From fcd7bb224b0ec365e644e1ab02946ad1258e116f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 2 Aug 2005 02:50:57 +0000 Subject: Fix FreeBSD compiler warning from broken includes. svn path=/trunk/; revision=4230 --- servport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'servport.c') diff --git a/servport.c b/servport.c index 2f69faba..0cc9fa88 100644 --- a/servport.c +++ b/servport.c @@ -12,10 +12,11 @@ #include #include #include +#if defined(HAVE_NETINET_IN_H) +#include +#endif #ifdef HAVE_ARPA_INET_H #include -#elif defined(HAVE_NETINET_IN_H) -#include #endif int servport(const char *service) { -- cgit v1.2.3