void-packages/srcpkgs/gc/patches/fix-boehm-gc.patch
2015-05-19 16:51:32 +02:00

11 lines
386 B
Diff

--- os_dep.c
+++ os_dep.c
@@ -26,7 +26,7 @@
# define __KERNEL__
# include <asm/signal.h>
# undef __KERNEL__
-# else
+# elif defined(__GLIBC__)
/* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
/* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
/* prototypes, so we have to include the top-level sigcontext.h to */