diff --git a/spot/parseaut/scanaut.ll b/spot/parseaut/scanaut.ll index bf35810ed..39f986eb9 100644 --- a/spot/parseaut/scanaut.ll +++ b/spot/parseaut/scanaut.ll @@ -26,6 +26,7 @@ /* %option debug */ %top{ #include "config.h" +#include "libc-config.h" /* Flex 2.6.4's test for relies on __STDC_VERSION__ which is undefined in C++. So without that, it will define its own integer types, including a broken SIZE_MAX definition. diff --git a/spot/parsetl/scantl.ll b/spot/parsetl/scantl.ll index 554c28298..c7434bd8d 100644 --- a/spot/parsetl/scantl.ll +++ b/spot/parsetl/scantl.ll @@ -28,6 +28,7 @@ %top{ #include "config.h" +#include "libc-config.h" /* Flex 2.6.4's test for relies on __STDC_VERSION__ which is undefined in C++. So without that, it will define its own integer types, including a broken SIZE_MAX definition.