9e316775ae
ok sthen@ ports is unlocked for a while only for those who have been informed. if I DID NOT MAIL YOU, DO NOT COMMIT!
17 lines
477 B
Plaintext
17 lines
477 B
Plaintext
$OpenBSD: patch-callback_trampoline_r_trampoline_c,v 1.1 2010/02/23 20:11:15 jasper Exp $
|
|
--- callback/trampoline_r/trampoline.c.orig Fri Feb 12 00:00:27 2010
|
|
+++ callback/trampoline_r/trampoline.c Fri Feb 12 00:00:30 2010
|
|
@@ -196,8 +196,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
|