commit 877c221c4eae0ca611064625a940fbd2b2e8d135 parent d42cf0c4464de829f45b2d8e24ac0af64bda0c33 Author: Frederic Cambus <fred@statdns.com> Date: Wed, 13 Jul 2016 15:28:16 +0200 Define _XOPEN_SOURCE macro (for 'strdup' and 'strndup' functions) Diffstat:
M | src/main.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c @@ -9,6 +9,7 @@ // See the file LICENSE for details. // +#define _XOPEN_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <string.h>