summaryrefslogtreecommitdiffstats
path: root/gettext-0.19.7-gnulib-cygwin25.patch
blob: e2e69545be20435026aa609a3128ed90771ad1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00057.html

--- origsrc/gettext-0.19.7/gettext-tools/gnulib-lib/sys_select.in.h	2015-12-27 17:08:31.000000000 -0600
+++ src/gettext-0.19.7/gettext-tools/gnulib-lib/sys_select.in.h	2016-05-04 10:07:56.425638400 -0500
@@ -82,7 +82,7 @@
    Also, Mac OS X, AIX, HP-UX, IRIX, Solaris, Interix declare select()
    in <sys/time.h>.
    But avoid namespace pollution on glibc systems.  */
-# ifndef __GLIBC__
+# if !(defined __GLIBC__ || defined __NEWLIB__)
 #  include <sys/time.h>
 # endif
 
@@ -103,7 +103,7 @@
    But avoid namespace pollution on glibc systems.
    Do this after the include_next (for the sake of OpenBSD 5.0) but before
    the split double-inclusion guard (for the sake of Solaris).  */
-#if !(defined __GLIBC__ && !defined __UCLIBC__)
+#if !((defined __GLIBC__ || defined __NEWLIB__) && !defined __UCLIBC__)
 # include <signal.h>
 #endif