summaryrefslogtreecommitdiff
path: root/lib/strdup.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-07 07:16:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-07 07:16:54 +0000
commita86c457f64bde96a95ac0a376f4e24546ac62926 (patch)
tree1465af8a18efb7a319bc94ddc7569d1841b03a08 /lib/strdup.h
parenta3538ea055d68218c32918bf390ac5cb36d38c09 (diff)
downloadcoreutils-a86c457f64bde96a95ac0a376f4e24546ac62926.tar.xz
Merge from gnulib.
Diffstat (limited to 'lib/strdup.h')
-rw-r--r--lib/strdup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strdup.h b/lib/strdup.h
index 4dc6a391c..d58bd13e2 100644
--- a/lib/strdup.h
+++ b/lib/strdup.h
@@ -21,7 +21,7 @@
/* Get strdup declaration, if available. */
#include <string.h>
-#if !HAVE_DECL_STRDUP && !defined strdup
+#if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP && !defined strdup
/* Duplicate S, returning an identical malloc'd string. */
extern char *strdup (const char *s);
#endif