[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC
From: |
KO Myung-Hun |
Subject: |
[PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC |
Date: |
Sun, 30 Nov 2014 13:20:07 +0900 |
kLIBC declares struct sched_param in spawn.h, so a redefinition error
occurs.
* lib/spawn.in.h: Do not include sched.h on OS/2 kLIBC.
---
lib/spawn.in.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/spawn.in.h b/lib/spawn.in.h
index eb76bb0..134cb08 100644
--- a/lib/spawn.in.h
+++ b/lib/spawn.in.h
@@ -33,7 +33,9 @@
/* Get definitions of 'struct sched_param' and 'sigset_t'.
But avoid namespace pollution on glibc systems. */
#if !(defined __GLIBC__ && !defined __UCLIBC__)
-# include <sched.h>
+# ifndef __KLIBC__
+# include <sched.h>
+# endif
# include <signal.h>
#endif
--
1.8.5.2
- [PATCH] OS/2 patches, KO Myung-Hun, 2014/11/30
- [PATCH 01/21] gnulib-tool: disable a symbolic link on OS/2, KO Myung-Hun, 2014/11/30
- [PATCH 03/21] git-version-gen: remove CR as well, KO Myung-Hun, 2014/11/30
- [PATCH 02/21] gnulib-tool: recognize x:* as an absolute path, KO Myung-Hun, 2014/11/30
- [PATCH 04/21] stdint: typedef gl_intptr_t and gl_uintptr_t correctly on OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 05/21] spawn: do not include sched.h on OS/2 kLIBC,
KO Myung-Hun <=
- [PATCH 06/21] Fix character encoding aliases for OS/2, KO Myung-Hun, 2014/11/30
- [PATCH 07/21] find_executable: port to EMX, KO Myung-Hun, 2014/11/30
- [PATCH 08/21] get_shared_library_fullname: port to EMX, KO Myung-Hun, 2014/11/30
- [PATCH 09/21] relocatable: support UNIXROOT in relocate() on EMX, KO Myung-Hun, 2014/11/30
- [PATCH 12/21] pipe_filter_ii_execute: port to OS/2 kLIBC, KO Myung-Hun, 2014/11/30