From: Vladimir V. Melnikov Date: Mon, 23 Mar 2009 08:29:31 +0000 (+0100) Subject: src/liboping.c: Only include if the configure script found it. X-Git-Tag: liboping-1.1.1~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cf72bb2336b94054ed6cbceb70a7e117654e4571;p=liboping.git src/liboping.c: Only include if the configure script found it. --- 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