]> pd.if.org Git - pdclib/blobdiff - functions/string/strdup.c
RegTest gives warning about implicitly declared functions. Fixed.
[pdclib] / functions / string / strdup.c
index d8792f30b72a98af858720b3c9a7c93a89630226..9be484a623eb4e760f7dd7b395b8195191f76ea6 100644 (file)
@@ -4,6 +4,10 @@
    Permission is granted to use, modify, and / or redistribute at will.\r
 */\r
 \r
    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
 #include <string.h>\r
 #include <stdlib.h>\r
 \r