$OpenBSD: patch-src_mips_ffitarget_h,v 1.1 2010/09/22 22:24:56 jasper Exp $
--- src/mips/ffitarget.h.orig	Tue Dec 29 08:22:26 2009
+++ src/mips/ffitarget.h	Wed Sep 22 16:23:32 2010
@@ -29,7 +29,7 @@
 
 #ifdef linux
 # include <asm/sgidefs.h>
-#else
+#elif !defined(__OpenBSD__)
 # include <sgidefs.h>
 #endif
 #  ifndef _ABIN32
