]> pd.if.org Git - pdclib/blobdiff - functions/string/strndup.c
RegTest gives warning about implicitly declared functions. Fixed.
[pdclib] / functions / string / strndup.c
index b96a86e86fd849baff544741e1ed016f2df929e6..15c44be27f23dc717acc718dd8dddb60f7e28bdf 100644 (file)
@@ -4,6 +4,10 @@
    Permission is granted to use, modify, and / or redistribute at will.\r
 */\r
 \r
+#ifdef REGTEST\r
+#define _POSIX_C_SOURCE 200809L\r
+#endif\r
+\r
 #include <string.h>\r
 #include <stdlib.h>\r
 \r