aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert2013-08-11 17:52:17 -0700
committerPaul Eggert2013-08-11 17:52:17 -0700
commiteaca0446e72c1a62e259c0ee0eabdd6a0443e5c8 (patch)
tree5d0d07c792c47fc34bd9086a689f460fd45b741d /lib
parent808190e694c48dd9bf851baf114c095f39794c37 (diff)
downloademacs-eaca0446e72c1a62e259c0ee0eabdd6a0443e5c8.tar.gz
emacs-eaca0446e72c1a62e259c0ee0eabdd6a0443e5c8.zip
Merge from gnulib.
This incorporates: 2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h 2013-08-10 sys_time: port to OpenBSD
Diffstat (limited to 'lib')
-rw-r--r--lib/fpending.h9
-rw-r--r--lib/sys_time.in.h5
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/fpending.h b/lib/fpending.h
index bf40d3732e7..4eca3f18e17 100644
--- a/lib/fpending.h
+++ b/lib/fpending.h
@@ -20,11 +20,10 @@
20 20
21#include <stddef.h> 21#include <stddef.h>
22#include <stdio.h> 22#include <stdio.h>
23#if HAVE_STDIO_EXT_H
24# include <stdio_ext.h>
25#endif
23 26
24#if HAVE_DECL___FPENDING 27#ifndef __fpending
25# if HAVE_STDIO_EXT_H
26# include <stdio_ext.h>
27# endif
28#else
29size_t __fpending (FILE *); 28size_t __fpending (FILE *);
30#endif 29#endif
diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h
index 3dbf6320667..f721580a765 100644
--- a/lib/sys_time.in.h
+++ b/lib/sys_time.in.h
@@ -24,11 +24,12 @@
24#endif 24#endif
25@PRAGMA_COLUMNS@ 25@PRAGMA_COLUMNS@
26 26
27/* On Cygwin, <sys/time.h> includes itself recursively via <sys/select.h>. 27/* On Cygwin and on many BSDish systems, <sys/time.h> includes itself
28 recursively via <sys/select.h>.
28 Simply delegate to the system's header in this case; it is a no-op. 29 Simply delegate to the system's header in this case; it is a no-op.
29 Without this extra ifdef, the C++ gettimeofday declaration below 30 Without this extra ifdef, the C++ gettimeofday declaration below
30 would be a forward declaration in gnulib's nested <sys/time.h>. */ 31 would be a forward declaration in gnulib's nested <sys/time.h>. */
31#ifdef _CYGWIN_SYS_TIME_H 32#if defined _CYGWIN_SYS_TIME_H || defined _SYS_TIME_H || defined _SYS_TIME_H_
32# @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@ 33# @INCLUDE_NEXT@ @NEXT_SYS_TIME_H@
33#else 34#else
34 35