summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 21:25:56 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 21:25:56 +0000
commit49cae071cd06977fb321ceb73e4d47d0b4e09eb8 (patch)
tree13813840cf50568f995886406d3870da4733ae98 /lib-src
parent13e48442929fea6257e82b79ab8ee3cd88b7e3a9 (diff)
downloademacs-49cae071cd06977fb321ceb73e4d47d0b4e09eb8.tar.gz
[__GNU_LIBRARY__]: Use <string.h>.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/cvtmail.c4
-rw-r--r--lib-src/sorted-doc.c4
-rw-r--r--lib-src/yow.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/lib-src/cvtmail.c b/lib-src/cvtmail.c
index 20ef3412439..83242a988a9 100644
--- a/lib-src/cvtmail.c
+++ b/lib-src/cvtmail.c
@@ -36,6 +36,10 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
+#ifdef __GNU_LIBRARY__
+# include <string.h>
+#endif
+
char *malloc ();
char *realloc ();
char *getenv ();
diff --git a/lib-src/sorted-doc.c b/lib-src/sorted-doc.c
index 0ba419d4907..cb521866ab5 100644
--- a/lib-src/sorted-doc.c
+++ b/lib-src/sorted-doc.c
@@ -8,6 +8,10 @@
#include <stdio.h>
#include <ctype.h>
+#ifdef __GNU_LIBRARY__
+# include <string.h>
+#endif
+
extern char *malloc ();
char *xmalloc ();
diff --git a/lib-src/yow.c b/lib-src/yow.c
index b67d2f1eeee..a37563a6f33 100644
--- a/lib-src/yow.c
+++ b/lib-src/yow.c
@@ -14,6 +14,10 @@
#include <ctype.h>
#include <../src/paths.h> /* For PATH_DATA. */
+#ifdef __GNU_LIBRARY__
+# include <string.h>
+#endif
+
#define BUFSIZE 80
#define SEP '\0'