diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-08-28 15:03:29 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-08-28 15:03:29 +0000 |
commit | a847af86f51bca4cc75993a6c7c3fbee952391a9 (patch) | |
tree | 6283a1520131661766bf5b9b843361d31d9fda46 /src/emacs.c | |
parent | db2144080c0b08b93ffaa2579fe7b66863688eff (diff) | |
download | emacs-a847af86f51bca4cc75993a6c7c3fbee952391a9.tar.gz |
(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.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index 8527736cb03..e91fca2eb01 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -60,6 +60,14 @@ Boston, MA 02111-1307, USA. */ #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 @@ Boston, MA 02111-1307, USA. */ 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. */ |