From 034813b32845d98026ee0788c37f5c356b063e3a Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 16:16:00 +0000 Subject: [PATCH] On linux do not prototype strdup() --- cde/lib/csa/lutil.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cde/lib/csa/lutil.c b/cde/lib/csa/lutil.c index a5faff9f..78a9edc8 100644 --- a/cde/lib/csa/lutil.c +++ b/cde/lib/csa/lutil.c @@ -49,7 +49,9 @@ #define SVR4 #endif +#if !defined(linux) extern char * strdup(const char *); +#endif extern char * _DtCmGetPrefix(char *str, char sep) -- 2.25.1