From cf72bb2336b94054ed6cbceb70a7e117654e4571 Mon Sep 17 00:00:00 2001 From: "Vladimir V. Melnikov" Date: Mon, 23 Mar 2009 09:29:31 +0100 Subject: [PATCH] src/liboping.c: Only include if the configure script found it. --- src/liboping.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/liboping.c b/src/liboping.c index 47c8279..f00e0b6 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -25,7 +25,6 @@ # include # include # include -# include # include # include # include @@ -33,6 +32,10 @@ # error "You don't have the standard C99 header files installed" #endif /* STDC_HEADERS */ +#ifdef HAVE_STDINT_H +# include +#endif + #if HAVE_UNISTD_H # include #endif @@ -61,6 +64,7 @@ #if HAVE_SYS_SOCKET_H # include #endif + #if HAVE_NETDB_H # include #endif -- 2.30.2