X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrdup.h;h=d58bd13e260874fb8b1d864e94740278b1fd524d;hb=5b3ef25d51691462730b000864e0eb09ebd34013;hp=4dc6a391c8aeb80f9d4b6c464e519336cf6b5e00;hpb=371e9531332a7fde1eee7dfc4aef0ec50d6fff7c;p=gnulib.git diff --git a/lib/strdup.h b/lib/strdup.h index 4dc6a391c..d58bd13e2 100644 --- a/lib/strdup.h +++ b/lib/strdup.h @@ -21,7 +21,7 @@ /* Get strdup declaration, if available. */ #include -#if !HAVE_DECL_STRDUP && !defined strdup +#if defined HAVE_DECL_STRDUP && !HAVE_DECL_STRDUP && !defined strdup /* Duplicate S, returning an identical malloc'd string. */ extern char *strdup (const char *s); #endif