$OpenBSD: patch-import_ioaux_c,v 1.2 2004/06/24 19:27:00 sturm Exp $
--- import/ioaux.c.orig	2003-12-20 03:48:54.000000000 -0800
+++ import/ioaux.c	2004-04-28 10:26:58.000000000 -0700
@@ -234,7 +234,7 @@ int probe_path(char *name) 
       
       // treat block device as absolute directory path
       if(S_ISBLK(fbuf.st_mode) 
-#ifdef __APPLE__ // accessing through the raw device (/dev/rdiskX)
+#ifdef SYS_BSD // accessing through the raw device (/dev/rdiskX)
 	      || S_ISCHR(fbuf.st_mode)
 #endif
 	      )
