diff options
Diffstat (limited to 'bashansi.h')
-rw-r--r-- | bashansi.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -22,11 +22,16 @@ #define _BASHANSI_H_ #if defined (HAVE_STRING_H) +# if ! defined (STDC_HEADERS) && defined (HAVE_MEMORY_H) +# include <memory.h> +# endif # include <string.h> -#else -# include <strings.h> #endif /* !HAVE_STRING_H */ +#if defined (HAVE_STRINGS_H) +# include <strings.h> +#endif /* !HAVE_STRINGS_H */ + #if defined (HAVE_STDLIB_H) # include <stdlib.h> #else |