]> Savannah Git Hosting - gnulib.git/commit
sched: port to GCC 6.2.1 on macOS Sierra
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2016 04:10:12 +0000 (21:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 25 Sep 2016 04:10:45 +0000 (21:10 -0700)
commit85854baba34817be27d9ad3b6c013fde9fb08236
tree8eb7d474e4ffc786a172894933446d4234ef1a05
parentfce9b3f0e2b98e386ca881a0961ca03e86ce73c8
sched: port to GCC 6.2.1 on macOS Sierra

Problem reported by Denis Davydov in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-09/msg00056.html
* lib/sched.in.h [HAVE_SYS_CDEFS_H]:
Include <sys/cdefs.h> before <sched.h>.
* m4/nproc.m4 (gl_PREREQ_NPROC): Include errno.h before sched.h,
so that we needn’t worry about the sched.h include bug here.
* m4/sched_h.m4 (gl_SCHED_H): Check for sys/cdefs.h,
and include it before <sched.h> if it exists, when
checking for <sched.h>.
ChangeLog
lib/sched.in.h
m4/nproc.m4
m4/sched_h.m4