ports/net/kea/patches/patch-src_lib_eval_lexer_cc

15 lines
531 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
bodge around https://gitlab.isc.org/isc-projects/kea/-/issues/2970
Index: src/lib/eval/lexer.cc
--- src/lib/eval/lexer.cc.orig
+++ src/lib/eval/lexer.cc
@@ -312,7 +312,7 @@
/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#if defined(__OpenBSD__) || (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.