$OpenBSD: patch-src_corelib_global_qglobal_h,v 1.5 2008/03/15 09:44:12 espie Exp $
--- src/corelib/global/qglobal.h.orig	Tue Feb 19 18:47:13 2008
+++ src/corelib/global/qglobal.h	Mon Mar  3 10:10:16 2008
@@ -1827,7 +1827,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 {
