ports/devel/ffcall/patches/patch-trampoline_trampoline_c

15 lines
365 B
Text

--- trampoline/trampoline.c.orig Thu Feb 11 23:38:13 2010
+++ trampoline/trampoline.c Thu Feb 11 23:40:59 2010
@@ -192,8 +192,12 @@ extern RETGETPAGESIZETYPE getpagesize ();
#ifdef linux
#include <asm/cachectl.h>
#else
+#ifdef __OpenBSD__
+#include <mips64/sysarch.h>
+#else
#ifdef HAVE_SYS_CACHECTL_H
#include <sys/cachectl.h>
+#endif
#endif
#endif
#endif