From c078e8fdad7700e452c9973d8719315c7b298de3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 15 Dec 2010 15:25:31 -0500 Subject: Lift some buried #includes. All regression tests pass. --- netlib.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'netlib.c') diff --git a/netlib.c b/netlib.c index f368d41d..f0812dff 100644 --- a/netlib.c +++ b/netlib.c @@ -7,6 +7,17 @@ #include #include #include +#include +#ifndef S_SPLINT_S +#ifndef AF_UNSPEC +#include +#endif /* AF_UNSPEC */ +#endif /* S_SPLINT_S */ +#ifndef INADDR_ANY +#include +#endif /* INADDR_ANY */ +#include +#include /* for htons() and friends */ #ifndef S_SPLINT_S #include #endif /* S_SPLINT_S */ -- cgit v1.2.1