components/wget/patches/sysdep.h.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 115 c360825c3a3f
permissions -rw-r--r--
Close of build 04.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
78
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     1
--- wget-1.12/src/sysdep.h.orig	Fri Sep  4 09:31:54 2009
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     2
+++ wget-1.12/src/sysdep.h	Fri Oct  2 03:03:22 2009
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     3
@@ -67,8 +67,13 @@
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     4
 
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     5
 #ifdef NAMESPACE_TWEAKS
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     6
 
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     7
+#if __STDC_VERSION__ >= 199901L
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     8
+/* Single UNIX Specification, Version 3 */
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     9
+#define _XOPEN_SOURCE 600
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    10
+#else
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    11
 /* Request the "Unix 98 compilation environment". */
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    12
 #define _XOPEN_SOURCE 500
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    13
+#endif
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    14
 
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    15
 /* For Solaris: request everything else that is available and doesn't
d47cf5f02201 7017218 move wget to userland
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    16
    conflict with the above.  */