From 2d1fd4747056812b71047fdc44ca109a14b0beb0 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 17:33:41 +0000 Subject: [PATCH] On Linux do not re prototype strdup() --- cde/lib/DtSearch/SearchP.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.25.1