mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
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>.
This commit is contained in:
parent
022ae742d1
commit
22072f2155
2 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,10 @@
|
|||
#include <errno.h>
|
||||
#include <uniconv.h>
|
||||
|
||||
#ifdef HAVE_SCHED_H
|
||||
# include <sched.h>
|
||||
#endif
|
||||
|
||||
#include "libguile/_scm.h"
|
||||
#include "libguile/dynwind.h"
|
||||
#include "libguile/fports.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue