aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r--include/asterisk/compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 79d23e7e7..de40a140e 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -86,6 +86,10 @@ int unsetenv(const char *name);
#define HAVE_STRNLEN
#endif
+#ifdef __Darwin__
+#include <inttypes.h>
+#endif
+
#ifdef __FreeBSD__
#include <sys/types.h>
#endif