X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstring%2Fstrndup.c;h=15c44be27f23dc717acc718dd8dddb60f7e28bdf;hp=b96a86e86fd849baff544741e1ed016f2df929e6;hb=5b64e18a94a184cc73392d563a1f3e0dbd3bdbf8;hpb=258eaed23a998f3b9a9ffebdfec0a43a893bbed8 diff --git a/functions/string/strndup.c b/functions/string/strndup.c index b96a86e..15c44be 100644 --- a/functions/string/strndup.c +++ b/functions/string/strndup.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