From b985680de6efe861557d2d2aaba20da541bd9625 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 18:04:30 +0000 Subject: [PATCH] Do not re-prototype strdup() --- cde/lib/DtSvc/DtUtil1/strtab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cde/lib/DtSvc/DtUtil1/strtab.c b/cde/lib/DtSvc/DtUtil1/strtab.c index 36b00035..26c0015b 100644 --- a/cde/lib/DtSvc/DtUtil1/strtab.c +++ b/cde/lib/DtSvc/DtUtil1/strtab.c @@ -67,7 +67,9 @@ struct strtab_build { static void inc_it (int * a, int * b, unsigned char * key); static void build_it(int a, struct strtab_build * ptr, unsigned char * key); +#if !defined(linux) extern char * strdup(const char *); +#endif typedef int (*des_func)(void *); /* -- 2.25.1