fix for making getline available on old systems

This commit is contained in:
root
2014-12-29 23:36:50 -06:00
parent 98dba1c236
commit 810d6d1245

View File

@@ -17,6 +17,7 @@
*/ */
#define _POSIX_C_SOURCE 200809L // for getline #define _POSIX_C_SOURCE 200809L // for getline
#define _GNU_SOURCE // for getline on old systems
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>