summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d3ab13)
raw | patch | inline | side by side (parent: 6d3ab13)
author | Vladimir V. Melnikov <wlad.w.m@gmail.com> | |
Mon, 23 Mar 2009 08:29:31 +0000 (09:29 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 23 Mar 2009 08:29:31 +0000 (09:29 +0100) |
src/liboping.c | patch | blob | history |
diff --git a/src/liboping.c b/src/liboping.c
index 47c8279f2d42e2582439f57a71a90b587542c4d1..f00e0b6dd040baeb16668541a23b5b6e7ffa427c 100644 (file)
--- a/src/liboping.c
+++ b/src/liboping.c
# include <stdlib.h>
# include <stdio.h>
# include <string.h>
-# include <stdint.h>
# include <inttypes.h>
# include <errno.h>
# include <assert.h>
# error "You don't have the standard C99 header files installed"
#endif /* STDC_HEADERS */
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
+
#if HAVE_NETDB_H
# include <netdb.h>
#endif