aboutsummaryrefslogtreecommitdiffstats
path: root/bashansi.h
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2001-11-13 17:56:06 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:54 +0000
commitf73dda092b33638d2d5e9c35375f687a607b5403 (patch)
treef21584e70a444d6a1ecba0fb5e2cf79e8cce91db /bashansi.h
parent28ef6c316f1aff914bb95ac09787a3c83c1815fd (diff)
downloadandroid_external_bash-f73dda092b33638d2d5e9c35375f687a607b5403.tar.gz
android_external_bash-f73dda092b33638d2d5e9c35375f687a607b5403.tar.bz2
android_external_bash-f73dda092b33638d2d5e9c35375f687a607b5403.zip
Imported from ../bash-2.05a.tar.gz.
Diffstat (limited to 'bashansi.h')
-rw-r--r--bashansi.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/bashansi.h b/bashansi.h
index 4e9f907..e7f1158 100644
--- a/bashansi.h
+++ b/bashansi.h
@@ -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