components/wget/patches/sysdep.h.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 01 Mar 2011 14:19:15 -0800
changeset 115 c360825c3a3f
parent 78 components/wget/sysdep.h.patch@d47cf5f02201
permissions -rw-r--r--
7022166 userland patches should move to subdirs

--- wget-1.12/src/sysdep.h.orig	Fri Sep  4 09:31:54 2009
+++ wget-1.12/src/sysdep.h	Fri Oct  2 03:03:22 2009
@@ -67,8 +67,13 @@
 
 #ifdef NAMESPACE_TWEAKS
 
+#if __STDC_VERSION__ >= 199901L
+/* Single UNIX Specification, Version 3 */
+#define _XOPEN_SOURCE 600
+#else
 /* Request the "Unix 98 compilation environment". */
 #define _XOPEN_SOURCE 500
+#endif
 
 /* For Solaris: request everything else that is available and doesn't
    conflict with the above.  */