$OpenBSD: patch-src_corelib_global_qglobal_h,v 1.4 2008/01/06 13:48:12 espie Exp $
--- src/corelib/global/qglobal.h.orig	Tue Dec  4 17:42:55 2007
+++ src/corelib/global/qglobal.h	Mon Dec 24 12:17:31 2007
@@ -1820,7 +1820,7 @@ typedef uint Flags;
 
 #endif /* Q_NO_TYPESAFE_FLAGS */
 
-#if defined(Q_CC_GNU) && !defined(Q_CC_INTEL)
+#if defined(Q_CC_GNU) && !defined(Q_CC_INTEL) && !defined(Q_OS_OPENBSD)
 /* make use of typeof-extension */
 template <typename T>
 class QForeachContainer {
