X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrndup.c;h=15c44be27f23dc717acc718dd8dddb60f7e28bdf;hb=6d8ab22315929ce3c33509be3492dc067c3b1c19;hp=b96a86e86fd849baff544741e1ed016f2df929e6;hpb=a9938cd46aee465e7476ab3aac773b925fc00ed4;p=pdclib 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