aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_string.h')
-rw-r--r--gdb/gdb_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h
index 4001fab..944eec1 100644
--- a/gdb/gdb_string.h
+++ b/gdb/gdb_string.h
@@ -1,5 +1,5 @@
/* Portable <string.h>
- Copyright 1995 Free Software Foundation, Inc.
+ Copyright 1995, 1998 Free Software Foundation, Inc.
This file is part of GDB.
@@ -61,7 +61,7 @@ extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
#endif
#endif
-#ifndef strdup
+#ifdef NEED_DECLARATION_STRDUP
extern char *strdup (); /* full prototype collides w/ some OSes (AIX 3.2.5) */
#endif