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, 3 insertions, 1 deletions
diff --git a/gdb/gdb_string.h b/gdb/gdb_string.h
index 0c6b68a..6b8fb82 100644
--- a/gdb/gdb_string.h
+++ b/gdb/gdb_string.h
@@ -59,6 +59,8 @@ extern int memcmp();
# endif
#endif
-extern char *strdup ();
+#ifndef strdup
+extern char *strdup PARAMS ((const char *));
+#endif
#endif /* !defined(GDB_STRING_H) */