]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2000-06-04 Philippe De Muyter <phdm@macqel.be>
authorPhil Blundell <philb@gnu.org>
Sun, 4 Jun 2000 21:04:03 +0000 (21:04 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 4 Jun 2000 21:04:03 +0000 (21:04 +0000)
* explodename.c: Include stdlib.h and string.h only if they exist.
Use strings.h eventually. (already in gettext-0.10.35 since 1998-04-27)

intl/ChangeLog
intl/explodename.c

index ecff6f6b2cd79d5d6038b27f75c9d1f0f4e71197..d9d86dd7d1adfd92052fdbf247b7245b4879c797 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-04  Philippe De Muyter  <phdm@macqel.be>
+
+       * explodename.c: Include stdlib.h and string.h only if they exist.
+       Use strings.h eventually. (already in gettext-0.10.35 since 1998-04-27)
+
 1997-09-06 02:10  Ulrich Drepper  <drepper@cygnus.com>
 
        * intlh.inst.in: Reformat copyright.
index 37c46e9d7b85073bf95c06eee1fbf9c1b212d7b2..8066dc29962f378d782cc6422cab33bd91a9cbca 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
    Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
 
    This program is free software; you can redistribute it and/or modify
 # include <config.h>
 #endif
 
-#include <stdlib.h>
-#include <string.h>
+#if defined STDC_HEADERS || defined _LIBC
+# include <stdlib.h>
+#endif
+
+#if defined HAVE_STRING_H || defined _LIBC
+# include <string.h>
+#else
+# include <strings.h>
+#endif
 #include <sys/types.h>
 
 #include "loadinfo.h"