src/oping.h: Do not check HAVE_*_H for system headers.
authorSebastian Harl <sh@tokkee.org>
Wed, 22 Jul 2009 13:35:55 +0000 (15:35 +0200)
committerSebastian 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.

src/oping.h

index 8c2ed08..546f5d3 100644 (file)
 # 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" {