diff options
Diffstat (limited to 'src/makeint.h')
-rw-r--r-- | src/makeint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/makeint.h b/src/makeint.h index 4bcf7b77..b5f63b16 100644 --- a/src/makeint.h +++ b/src/makeint.h @@ -251,8 +251,6 @@ extern int vms_unix_simulation; # ifdef HAVE_STRING_H # include <string.h> # define ANSI_STRING 1 -# else -# include <strings.h> # endif # ifdef HAVE_MEMORY_H # include <memory.h> @@ -296,6 +294,10 @@ char *strerror (int errnum); # include <stdint.h> #endif +#if HAVE_STRINGS_H +# include <strings.h> /* Needed for strcasecmp / strncasecmp. */ +#endif + #if defined _MSC_VER || defined __MINGW32__ # define MK_PRI64_PREFIX "I64" #else |