diff --git a/cde/lib/DtSvc/DtUtil1/DtsInit.c b/cde/lib/DtSvc/DtUtil1/DtsInit.c index 352969f5d..151df1d21 100644 --- a/cde/lib/DtSvc/DtUtil1/DtsInit.c +++ b/cde/lib/DtSvc/DtUtil1/DtsInit.c @@ -73,7 +73,9 @@ #include
#include "DtSvcLock.h" +#if !defined(linux) extern char *strdup(const char *); +#endif static int cur_dc_count = 0; static int cur_da_count = 0; diff --git a/cde/lib/DtSvc/DtUtil1/DtsSort.c b/cde/lib/DtSvc/DtUtil1/DtsSort.c index c8297ef99..e912659cf 100644 --- a/cde/lib/DtSvc/DtUtil1/DtsSort.c +++ b/cde/lib/DtSvc/DtUtil1/DtsSort.c @@ -58,8 +58,9 @@ #include "Dt/DtsDb.h" #include "Dt/Dts.h" +#if !defined(linux) extern char *strdup(const char *); - +#endif static char * get_value(DtDtsDbRecord *ce_entry, char *value)