$NetBSD: patch-ai,v 1.1.1.1 2004/03/01 22:46:26 heinz Exp $

--- lib-src/zipios++/src/directory.h.orig	Sat Oct  4 00:34:31 2003
+++ lib-src/zipios++/src/directory.h
@@ -35,7 +35,7 @@
 // #include <boost.h>  Contents of boost.h
 
 // Allow control over DLL version being built
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__)
 #  define BOOST_DECL
 #elif defined(ZIPIOS_DLL)
 #  ifdef ZIPIOS_EXPORTS
@@ -48,7 +48,7 @@
 #endif
 // end of contents of boost.h
 
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__)
 #include <sys/types.h>
 #endif
 
@@ -232,7 +232,7 @@ namespace boost
 
 #endif
 
-#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX)
+#if defined(unix) || defined(__unix) || defined(__unix__) || defined(MACOSX) || defined(__NetBSD__) || defined (__FreeBSD__) || defined (__OpenBSD__)
 
         struct is_link { typedef bool value_type; };
         template <> bool get<is_link>(dir_it const &);
