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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h
index 819ac4675..5d97f4915 100644
--- a/include/asterisk/compat.h
+++ b/include/asterisk/compat.h
@@ -20,6 +20,11 @@
#ifndef _COMPAT_H
#define _COMPAT_H
+#ifndef __STDC_VERSION__
+/* flex output wants to find this defined. */
+#define __STDC_VERSION__ 0
+#endif
+
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif