aboutsummaryrefslogtreecommitdiffstats
path: root/m4/stdlib_h.m4
diff options
context:
space:
mode:
authorPaul Eggert2018-02-20 13:42:19 -0800
committerPaul Eggert2018-02-20 13:45:27 -0800
commit630da78a3cc2a5df2d61e1edf0c209b806b336e2 (patch)
tree733a99c301158e849bc3f612f6eb896e55ad47a8 /m4/stdlib_h.m4
parent3d38ab8f1fbfaeb1f3eddbc79ef6ded1d9a87841 (diff)
downloademacs-630da78a3cc2a5df2d61e1edf0c209b806b336e2.tar.gz
emacs-630da78a3cc2a5df2d61e1edf0c209b806b336e2.zip
Update from gnulib
This includes: 2018-02-18 warnings: Add support for Objective C 2018-02-03 stdlib: Fix compilation error on OpenIndiana * lib/gnulib.mk.in: Regenerate. * lib/stdlib.in.h, m4/getloadavg.m4, m4/stdlib_h.m4, m4/warnings.m4: Copy from gnulib.
Diffstat (limited to 'm4/stdlib_h.m4')
-rw-r--r--m4/stdlib_h.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4
index eff6f9e685b..49dc5d59cbe 100644
--- a/m4/stdlib_h.m4
+++ b/m4/stdlib_h.m4
@@ -1,4 +1,4 @@
1# stdlib_h.m4 serial 44 1# stdlib_h.m4 serial 45
2dnl Copyright (C) 2007-2018 Free Software Foundation, Inc. 2dnl Copyright (C) 2007-2018 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 4dnl gives unlimited permission to copy and/or distribute it,
@@ -14,6 +14,9 @@ AC_DEFUN([gl_STDLIB_H],
14 dnl guaranteed by C89. 14 dnl guaranteed by C89.
15 gl_WARN_ON_USE_PREPARE([[#include <stdlib.h> 15 gl_WARN_ON_USE_PREPARE([[#include <stdlib.h>
16#if HAVE_SYS_LOADAVG_H 16#if HAVE_SYS_LOADAVG_H
17/* OpenIndiana has a bug: <sys/time.h> must be included before
18 <sys/loadavg.h>. */
19# include <sys/time.h>
17# include <sys/loadavg.h> 20# include <sys/loadavg.h>
18#endif 21#endif
19#if HAVE_RANDOM_H 22#if HAVE_RANDOM_H