another strdup fix for old systems

This commit is contained in:
root
2014-12-29 23:34:33 -06:00
parent 5d7107ab06
commit 98dba1c236

View File

@@ -17,6 +17,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L // for PATH_MAX #define _POSIX_C_SOURCE 200809L // for PATH_MAX
#define _GNU_SOURCE // for strdup
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>