diff options
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index cb3678449..8c2c6c4e6 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -16,6 +16,9 @@ #ifndef _COMPAT_H #define _COMPAT_H +#include <inttypes.h> +#include <sys/types.h> + #ifndef HAVE_STRSEP char* strsep(char** str, const char* delims); #endif @@ -81,18 +84,6 @@ typedef unsigned int u_int32_t; #endif #endif /* __CYGWIN__ */ -#ifdef __linux__ -#include <inttypes.h> -#endif - -#ifdef __Darwin__ -#include <inttypes.h> -#endif - -#ifdef __FreeBSD__ -#include <sys/types.h> -#endif - #ifdef __CYGWIN__ typedef unsigned long long uint64_t; #endif |