summaryrefslogtreecommitdiff
path: root/lib/xstrdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrdup.c')
-rw-r--r--lib/xstrdup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index da39db3e37..9588bc78d1 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-#if defined(USG) || defined(STDC_HEADERS)
+#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
#include <string.h>
#else
#include <strings.h>