summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--read_config_file.c5
-rw-r--r--sysdeps/linux-gnu/hooks.c3
2 files changed, 3 insertions, 5 deletions
diff --git a/read_config_file.c b/read_config_file.c
index e9c050d..9d3ccd8 100644
--- a/read_config_file.c
+++ b/read_config_file.c
@@ -21,10 +21,7 @@
* 02110-1301 USA
*/
-/* getline is POSIX.1-2008. It was originally a GNU extension, and
- * chances are uClibc still needs _GNU_SOURCE, but for now try it this
- * way. */
-#define _POSIX_C_SOURCE 200809L
+#define _GNU_SOURCE
#include "config.h"
diff --git a/sysdeps/linux-gnu/hooks.c b/sysdeps/linux-gnu/hooks.c
index 3fb3614..e9cb8d9 100644
--- a/sysdeps/linux-gnu/hooks.c
+++ b/sysdeps/linux-gnu/hooks.c
@@ -18,7 +18,8 @@
* 02110-1301 USA
*/
-#define _POSIX_C_SOURCE 200809L
+#define _GNU_SOURCE
+
#include <sys/types.h>
#include <alloca.h>
#include <errno.h>