X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrdup.c;h=9be484a623eb4e760f7dd7b395b8195191f76ea6;hp=d8792f30b72a98af858720b3c9a7c93a89630226;hb=5b64e18a94a184cc73392d563a1f3e0dbd3bdbf8;hpb=258eaed23a998f3b9a9ffebdfec0a43a893bbed8 diff --git a/functions/string/strdup.c b/functions/string/strdup.c index d8792f3..9be484a 100644 --- a/functions/string/strdup.c +++ b/functions/string/strdup.c @@ -4,6 +4,10 @@ Permission is granted to use, modify, and / or redistribute at will. */ +#ifdef REGTEST +#define _POSIX_C_SOURCE 200809L +#endif + #include #include