]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - bashansi.h
Imported from ../bash-2.05a.tar.gz.
[thirdparty/bash.git] / bashansi.h
index 4e9f90733c7a26a5f83d666f5b0e116913cd4d41..e7f11585b12e71c8b8a662ee199d20aaa1fcbece 100644 (file)
 #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