components/wget/patches/sysdep.h.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 13 Apr 2011 09:58:06 -0700
changeset 181 87e11e685b1f
parent 115 c360825c3a3f
permissions -rw-r--r--
7003927 userland should postprocess packaged files 7034188 userland should have common lint library rules 7034992 userland packages should include opensolaris.arc_url data 7019309 move ghostscript to userland (fix build)

--- 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.  */