From: Peter Howkins Date: Sun, 11 Mar 2012 16:16:00 +0000 (+0000) Subject: On linux do not prototype strdup() X-Git-Tag: 2.2.0a~26^2~153 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=034813b32845d98026ee0788c37f5c356b063e3a;p=oweals%2Fcde.git On linux do not prototype strdup() --- 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)