$NetBSD$

--- common.h.orig	2009-04-26 14:28:37.000000000 +0000
+++ common.h
@@ -18,6 +18,9 @@
 
 extern int verbosity;
 
+#if !defined(__GNUC__) && !defined(__attribute__)
+#  define __attribute__(x) /**/
+#endif
 
 namespace Ocrad {
 
