summaryrefslogtreecommitdiff
path: root/lib/sched.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sched.in.h')
-rw-r--r--lib/sched.in.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/sched.in.h b/lib/sched.in.h
index edebf810..92d6a4ff 100644
--- a/lib/sched.in.h
+++ b/lib/sched.in.h
@@ -1,5 +1,5 @@
/* Replacement <sched.h> for platforms that lack it.
- Copyright (C) 2008-2014 Free Software Foundation, Inc.
+ Copyright (C) 2008-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -35,6 +35,13 @@
and Mac OS X 10.5. */
#include <sys/types.h>
+#ifdef __KLIBC__
+
+/* On OS/2 kLIBC, struct sched_param is in spawn.h */
+# include <spawn.h>
+
+#endif
+
#if !@HAVE_STRUCT_SCHED_PARAM@
# if !GNULIB_defined_struct_sched_param