summaryrefslogtreecommitdiffstats
path: root/contrib/flex/flexint.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/flex/flexint.h')
-rw-r--r--contrib/flex/flexint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/flex/flexint.h b/contrib/flex/flexint.h
index f9fa80c..c550266 100644
--- a/contrib/flex/flexint.h
+++ b/contrib/flex/flexint.h
@@ -5,7 +5,8 @@
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#if defined(__FreeBSD__) || \
+ (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
* if you want the limit (max/min) macros for int types.
OpenPOWER on IntegriCloud