From d0de8debbd88388425ee51d9612a238edeba0ad2 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Wed, 26 Mar 2003 21:35:19 +0000 Subject: [PATCH] reorder include directives so as to catch system integer types before flex defined values for same --- flexdef.h | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/flexdef.h b/flexdef.h index 4803d12..6c6fe0b 100644 --- a/flexdef.h +++ b/flexdef.h @@ -51,12 +51,24 @@ #ifdef HAVE_LIMITS_H #include #endif -#include "flexint.h" #ifdef HAVE_UNISTD_H #include #endif - +#ifdef HAVE_NETINET_IN_H +#include +#endif +#ifdef HAVE_SYS_PARAMS_H +#include +#endif +#ifdef HAVE_STDBOOL_H +#include +#else +#define bool int +#define true 1 +#define false 0 +#endif #include +#include "flexint.h" /* We use gettext. So, when we write strings which should be translated, we mark them with _() */ #ifdef ENABLE_NLS @@ -117,23 +129,8 @@ #define isascii(c) ((c) <= 0177) #endif -#ifdef HAVE_STDBOOL_H -#include -#else -#define bool int -#define true 1 -#define false 0 -#endif - #define unspecified -1 -#ifdef HAVE_NETINET_IN_H -#include -#endif -#ifdef HAVE_SYS_PARAMS_H -#include -#endif - /* Special chk[] values marking the slots taking by end-of-buffer and action * numbers. */ -- 2.40.0