$OpenBSD: patch-ctypes_libffi_src_mips_ffitarget_h,v 1.1 2012/08/13 11:08:51 jasper Exp $
--- ctypes/libffi/src/mips/ffitarget.h.orig	Mon Aug 13 04:34:58 2012
+++ ctypes/libffi/src/mips/ffitarget.h	Mon Aug 13 04:35:23 2012
@@ -29,7 +29,7 @@
 
 #ifdef linux
 # include <asm/sgidefs.h>
-#else
+#elif !defined(__OpenBSD__)
 # include <sgidefs.h>
 #endif
 #  ifndef _ABIN32
