about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--include/features.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3c4d51b765..d99c3c3990 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-04-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
+	200112L.
+
 	* resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced
 	functions to avoid relocations.
 
diff --git a/include/features.h b/include/features.h
index 78eeb88cf2..0b06b0f71b 100644
--- a/include/features.h
+++ b/include/features.h
@@ -151,7 +151,7 @@
 # undef  _POSIX_SOURCE
 # define _POSIX_SOURCE	1
 # undef  _POSIX_C_SOURCE
-# define _POSIX_C_SOURCE	199506L
+# define _POSIX_C_SOURCE	200112L
 # undef  _XOPEN_SOURCE
 # define _XOPEN_SOURCE	600
 # undef  _XOPEN_SOURCE_EXTENDED