$NetBSD: patch-aa,v 1.1.1.1 2000/09/01 16:10:28 veego Exp $ --- src/disku.c Sun May 14 14:04:23 2000 +++ src/disku.c Sun Jul 16 10:58:08 2000 @@ -25,7 +25,7 @@ #include #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) #include #include #endif @@ -52,7 +52,7 @@ #endif -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) struct disklabel dl; if (ioctl(d->d_fd,DIOCGDINFO,&dl) == -1) pr(FATAL,EM_IOCTLFAILED,"DIOCGDINFO",strerror(errno));