diff src/emacs.c @ 31225:7930c46bb365

(toplevel) [HAVE_STRING_H]: Include string.h. (toplevel) [HAVE_STRINGS_H]: Include strings.h. (index): Remove prototypes which might conflict with non-standard definitions of index/strchr.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 28 Aug 2000 15:03:29 +0000
parents 7949e7792b02
children 3ecef4a7b3cd
line wrap: on
line diff
--- a/src/emacs.c	Mon Aug 28 15:01:58 2000 +0000
+++ b/src/emacs.c	Mon Aug 28 15:03:29 2000 +0000
@@ -60,6 +60,14 @@
 #include <sys/resource.h>
 #endif
 
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
+
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 #ifndef O_RDWR
 #define O_RDWR 2
 #endif
@@ -73,7 +81,6 @@
 
 extern void malloc_warning P_ ((char *));
 extern void set_time_zone_rule P_ ((char *));
-extern char *index P_ ((const char *, int));
 
 /* Make these values available in GDB, which doesn't see macros.  */