summaryrefslogtreecommitdiff
path: root/intl/explodename.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2001-11-29 03:23:40 +0000
committerBen Elliston <bje@au.ibm.com>2001-11-29 03:23:40 +0000
commit88ce95e4c0975ce713ffb3bcd676b258f7209e59 (patch)
tree7b2c22feeffe9f0e6f25ecf6cc8c2ea1bbe2f6c1 /intl/explodename.c
parent053ced43330bb5b94af6a6c83053b7c94086e196 (diff)
downloadbinutils-redhat-import-1.1.1.tar.gz
Import GNU gettext 0.10.35import-1.1.1
Diffstat (limited to 'intl/explodename.c')
-rw-r--r--intl/explodename.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/intl/explodename.c b/intl/explodename.c
index 37c46e9d7b..8066dc2996 100644
--- a/intl/explodename.c
+++ b/intl/explodename.c
@@ -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
@@ -19,8 +19,15 @@
# 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"