On linux do not prototype strdup()
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 16:16:00 +0000 (16:16 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 16:16:00 +0000 (16:16 +0000)
cde/lib/csa/lutil.c

index a5faff9fc3c13249494f198b1cbd57dd5cf88c0d..78a9edc8fa6b64c300e2029dd15049a6db9105d0 100644 (file)
@@ -49,7 +49,9 @@
 #define SVR4
 #endif
 
+#if !defined(linux)
 extern char * strdup(const char *);
+#endif
 
 extern char *
 _DtCmGetPrefix(char *str, char sep)