summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2458a7a)
raw | patch | inline | side by side (parent: 2458a7a)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 22 Jul 2009 13:35:55 +0000 (15:35 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 22 Jul 2009 13:35:55 +0000 (15:35 +0200) |
Imho, this is not a good thing to do for an installed header since it requires
every user to define those macros as well.
every user to define those macros as well.
src/oping.h | patch | blob | history |
diff --git a/src/oping.h b/src/oping.h
index 8c2ed08936f20e286b5aebf6dadd0a552593ad45..546f5d33c25d08f9606153775df972c2eb2e77ed 100644 (file)
--- a/src/oping.h
+++ b/src/oping.h
# include <config.h>
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-#if HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#if HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#ifdef __cplusplus
extern "C" {