summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2011-04-14 23:16:21 +0200
committerLudovic Courtès <ludo@gnu.org>2011-04-14 23:16:21 +0200
commit22072f2155f657ff229bf8aaaa00318b60e8d6e5 (patch)
treefaca1a4798f7bc9cac75917f24d624483855e896 /configure.ac
parent022ae742d171fb9ef3db7aab59b4e029edd2ff02 (diff)
downloadguile-22072f2155f657ff229bf8aaaa00318b60e8d6e5.tar.gz
Include <sched.h> in `posix.c'.
* configure.ac: Check for <sched.h>. * libguile/posix.c [HAVE_SCHED_H]: Include <sched.h>, for `sched_setaffinity' & co. Reported by Marco Maggi <marco.maggi-ipsu@poste.it>.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 45438c8a1..2b5662997 100644
--- a/configure.ac
+++ b/configure.ac
@@ -644,12 +644,13 @@ AC_SUBST([SCM_I_GSC_HAVE_STRUCT_DIRENT64])
# this file instead of <fenv.h>
# process.h - mingw specific
# langinfo.h, nl_types.h - SuS v2
+# sched.h - missing on MinGW
#
AC_CHECK_HEADERS([complex.h fenv.h io.h libc.h limits.h malloc.h memory.h process.h string.h \
regex.h rxposix.h rx/rxposix.h sys/dir.h sys/ioctl.h sys/select.h \
sys/time.h sys/timeb.h sys/times.h sys/stdtypes.h sys/types.h \
sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h \
-direct.h langinfo.h nl_types.h machine/fpu.h poll.h])
+direct.h langinfo.h nl_types.h machine/fpu.h poll.h sched.h])
# Reasons for testing:
# nl_item - lacking on Cygwin