$NetBSD: patch-ad,v 1.1 2006/12/26 23:49:15 gschwarz Exp $

--- scan.h.orig	2006-12-26 13:33:35.440000000 +0100
+++ scan.h	2006-12-26 13:34:16.409997000 +0100
@@ -1,7 +1,9 @@
 #ifndef SCAN_H
 #define SCAN_H
 
+#ifndef __sun
 #include <sys/cdefs.h>
+#endif
 #ifndef __pure__
 #define __pure__
 #endif
