$OpenBSD: patch-gtk2hs-buildtools_cabal,v 1.1.1.1 2010/06/16 13:57:39 kili Exp $
--- gtk2hs-buildtools.cabal.orig	Tue May 25 10:22:42 2010
+++ gtk2hs-buildtools.cabal	Thu Jun 10 21:18:22 2010
@@ -107,7 +107,7 @@ Executable gtk2hsC2hs
                         c2hs/base/syms
                         c2hs/base/syntax
         c-sources:      c2hs/toplevel/c2hs_config.c
-        if os(darwin)
+        if os(darwin) || os(openbsd)
           cpp-options:  -D_C2HS_CPP_IS_GCC
         else
           cpp-options:  -D_C2HS_CPP_LANG_SINGLE
