diff --git a/src/configure.in b/src/configure.in index 41c3fe4e9b1255d09a2db3ddebe32b75a71ff3dc..f8ca3bed70800118a6ea76f0f3786d4dc510a4a5 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.410 2000/08/28 21:19:14 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.411 2000/08/29 01:10:25 hubbe Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -1341,7 +1341,7 @@ limits.h pthread.h crt/signal.h sys/id.h \ thread.h dlfcn.h dld.h dl.h sys/times.h sched.h sys/procfs.h sys/param.h \ winsock.h sys/ioct.h sys/socket.h malloc.h netinet/in.h sys/wait.h winbase.h \ grp.h pwd.h passwd.h group.h winsock2.h signal.h sys/file.h poll.h sys/poll.h \ -socket.h ieeefp.h fp_class.h floatingpoint.h sys/priocntl.h sched.h \ +socket.h ieeefp.h fp_class.h floatingpoint.h sys/priocntl.h sys/sched.h \ windows.h errno.h stddef.h mmx.h) AC_CHECK_SIZEOF(char *,4) diff --git a/src/signal_handler.c b/src/signal_handler.c index d229c7b6427f89e4951cd8f749c2e9cd86673e9e..c82f9b03071163a5656cba88af38c2bcc08a48b1 100644 --- a/src/signal_handler.c +++ b/src/signal_handler.c @@ -25,7 +25,7 @@ #include "main.h" #include <signal.h> -RCSID("$Id: signal_handler.c,v 1.178 2000/08/19 11:35:51 grubba Exp $"); +RCSID("$Id: signal_handler.c,v 1.179 2000/08/29 01:10:25 hubbe Exp $"); #ifdef HAVE_PASSWD_H # include <passwd.h> @@ -1465,7 +1465,13 @@ extern int pike_make_pipe(int *); # include <sys/tspriocntl.h> #else # ifdef HAVE_SCHED_SETSCHEDULER -# include <sched.h> +# ifdef HAVE_SCHED_H +# include <sched.h> +# else +# ifdef HAVE_SYS_SCHED_H +# include <sys/sched.h> +# endif +# endif # endif #endif