From: Sebastian Harl Date: Wed, 22 Jul 2009 13:35:55 +0000 (+0200) Subject: src/oping.h: Do not check HAVE_*_H for system headers. X-Git-Tag: liboping-1.3.2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=037b07355c844e17e7d3808aed4973f024876c73;p=liboping.git src/oping.h: Do not check HAVE_*_H for system headers. Imho, this is not a good thing to do for an installed header since it requires every user to define those macros as well. --- diff --git a/src/oping.h b/src/oping.h index 8c2ed08..546f5d3 100644 --- a/src/oping.h +++ b/src/oping.h @@ -24,18 +24,10 @@ # include #endif -#if HAVE_STDLIB_H -# include -#endif -#if HAVE_UNISTD_H -# include -#endif -#if HAVE_SYS_TYPES_H -# include -#endif -#if HAVE_SYS_SOCKET_H -# include -#endif +#include +#include +#include +#include #ifdef __cplusplus extern "C" {