1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-02 21:56:43 +03:00
openwrt-packages/gcal/patches/spawn.in.h.patch
Xiangfu Liu 23a56946e4 [gcal] update to 3.6, thanks to Otmar Struwe
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-11-02 14:58:26 +08:00

17 lines
431 B
Diff

--- gcal-3.6/lib/spawn.in.h 2010-03-22 13:31:49.000000000 +0100
+++ gcal-3.6a/lib/spawn.in.h 2010-10-30 16:57:51.000000000 +0200
@@ -24,6 +24,11 @@
/* The include_next requires a split double-inclusion guard. */
#if @HAVE_SPAWN_H@
# @INCLUDE_NEXT@ @NEXT_SPAWN_H@
+#else
+/* At least the sched.h and the signal.h are required
+ from gcal or glibc */
+#include <sched.h>
+#include <signal.h>
#endif
#ifndef _GL_SPAWN_H