CommandLine.cpp:189: error: `strdup' undeclared

From: Misha Brukman <>
Date: Sat, 3 Jul 2004 19:33:12 -0500

Well, the patch adds #include <cstring> to CommandLine.cpp, so you
should try the patch first. If it does not work, then the Interix SDK
<cstring> is not a fully complete substitue for <string.h>, which it
should be, then you may have to manually try changing the <cstring> to
<string.h> and go from there.

If that is the case, you may encounter other problems elsewhere in the
source code that may also require <string.h> in place of <cstring> ...

Thanx for the advices. I'll try to do that.