From: Peter Howkins Date: Sun, 11 Mar 2012 17:33:41 +0000 (+0000) Subject: On Linux do not re prototype strdup() X-Git-Tag: 2.2.0a~26^2~150 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2d1fd4747056812b71047fdc44ca109a14b0beb0;p=oweals%2Fcde.git On Linux do not re prototype strdup() --- diff --git a/cde/lib/DtSearch/SearchP.h b/cde/lib/DtSearch/SearchP.h index 58205a9c..038b62c4 100644 --- a/cde/lib/DtSearch/SearchP.h +++ b/cde/lib/DtSearch/SearchP.h @@ -871,9 +871,11 @@ extern LLIST *sort_llist (LLIST *list_header); extern char *teskey_parser (PARG *parg); extern DtSrObjdate tm2objdate (struct tm *tmptr); +#if !defined(linux) #ifndef _ALL_SOURCE extern char *strdup (const char *s); #endif +#endif extern void toggle_insert (void); extern void unload_custom_language (DBLK *dblk); extern void unload_language (DBLK *dblk);