Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / lib / readline / histlib.h
index bc948b0..c39af71 100644 (file)
 #if !defined (_HISTLIB_H_)
 #define _HISTLIB_H_
 
+#if defined (HAVE_STRING_H)
+#  include <string.h>
+#else
+#  include <strings.h>
+#endif /* !HAVE_STRING_H */
+
 #if !defined (STREQ)
 #define STREQ(a, b)    (((a)[0] == (b)[0]) && (strcmp ((a), (b)) == 0))
 #define STREQN(a, b, n) (((n) == 0) ? (1) \
@@ -29,9 +35,6 @@
 #endif
 
 #ifndef savestring
-#  ifndef strcpy
-extern char *strcpy ();
-#  endif
 #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x))
 #endif