$OpenBSD: patch-cppu_test_alignment_diagnose_h,v 1.1 2006/10/25 22:49:50 kurt Exp $
--- cppu/test/alignment/diagnose.h.orig.port	Thu Sep  8 05:00:29 2005
+++ cppu/test/alignment/diagnose.h	Tue Oct 24 16:53:06 2006
@@ -38,7 +38,7 @@
 #include <sal/types.h>
 #include <stdio.h>
 
-#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD)) && defined(INTEL)
+#if defined(__GNUC__) && (defined(LINUX) || defined(FREEBSD) || defined(OPENBSD)) && defined(INTEL)
 #define ALIGNMENT(s, n) __alignof__ (s)
 #else
 #define ALIGNMENT(s, n) n
