aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sys_stat.in.h
diff options
context:
space:
mode:
authorPaul Eggert2019-01-27 16:20:03 -0800
committerPaul Eggert2019-01-27 16:20:40 -0800
commitd81aa8516ef6df79d6d602d4f732d8a65bf1677c (patch)
treec384271af4f60e82ab204d020e7e6e3367e87877 /lib/sys_stat.in.h
parentcc1c46e4122a08657a7c75495115d1c60efb1b31 (diff)
downloademacs-d81aa8516ef6df79d6d602d4f732d8a65bf1677c.tar.gz
emacs-d81aa8516ef6df79d6d602d4f732d8a65bf1677c.zip
Update from Gnulib
This incorporates: 2019-01-26 getloadavg: Add support for Android 2019-01-24 fchownat: Fix compilation error on Android 4.3 2019-01-24 mbtowc: Fix compilation error on Android 4.3 2019-01-24 random: Fix compilation error on Android 4.3 2019-01-24 renameat: Fix compilation error on Android 4.3 2019-01-24 unlinkat: Fix compilation error on Android 4.3 2019-01-19 gettext: support disabling use of VLAs 2019-01-17 sys_stat: Fix warning on OS/2 kLIBC 2019-01-17 fcntl: Fix syntax error (regression from 2018-10-05) 2019-01-10 verify: Enable _GL_HAVE_STATIC_ASSERT for recent G++ 2018-12-22 stdioext: port to newer 32-bit Android 2018-12-16 libc-config: Support HP-UX cc in C99 mode. * build-aux/config.guess, build-aux/config.sub, doc/misc/texinfo.tex: * lib/cdefs.h, lib/fcntl.c, lib/getloadavg.c, lib/gettext.h: * lib/regexec.c, lib/stdio-impl.h, lib/stdio.in.h, lib/stdlib.in.h: * lib/sys_stat.in.h, lib/unistd.in.h, lib/verify.h, m4/stdlib_h.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
Diffstat (limited to 'lib/sys_stat.in.h')
-rw-r--r--lib/sys_stat.in.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h
index 58fa93fd0ad..9ddd1a8d004 100644
--- a/lib/sys_stat.in.h
+++ b/lib/sys_stat.in.h
@@ -54,9 +54,16 @@
54 54
55/* The definition of _GL_WARN_ON_USE is copied here. */ 55/* The definition of _GL_WARN_ON_USE is copied here. */
56 56
57/* Before doing "#define mknod rpl_mknod" below, we need to include all
58 headers that may declare mknod(). OS/2 kLIBC declares mknod() in
59 <unistd.h>, not in <sys/stat.h>. */
60#ifdef __KLIBC__
61# include <unistd.h>
62#endif
63
57/* Before doing "#define mkdir rpl_mkdir" below, we need to include all 64/* Before doing "#define mkdir rpl_mkdir" below, we need to include all
58 headers that may declare mkdir(). Native Windows platforms declare mkdir 65 headers that may declare mkdir(). Native Windows platforms declare mkdir
59 in <io.h> and/or <direct.h>, not in <unistd.h>. */ 66 in <io.h> and/or <direct.h>, not in <sys/stat.h>. */
60#if defined _WIN32 && ! defined __CYGWIN__ 67#if defined _WIN32 && ! defined __CYGWIN__
61# include <io.h> /* mingw32, mingw64 */ 68# include <io.h> /* mingw32, mingw64 */
62# include <direct.h> /* mingw64, MSVC 9 */ 69# include <direct.h> /* mingw64, MSVC 9 */