diff options
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/_p9dir.c | 3 | ||||
-rw-r--r-- | src/lib9/dirfwstat.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c index ce2dcecd..e5e9c975 100644 --- a/src/lib9/_p9dir.c +++ b/src/lib9/_p9dir.c @@ -7,8 +7,9 @@ #include <pwd.h> #include <grp.h> -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) #include <sys/disklabel.h> +#include <sys/ioctl.h> static int diskdev[] = { 151, /* aacd */ 116, /* ad */ diff --git a/src/lib9/dirfwstat.c b/src/lib9/dirfwstat.c index 76ed9cd9..be77f4b0 100644 --- a/src/lib9/dirfwstat.c +++ b/src/lib9/dirfwstat.c @@ -4,7 +4,7 @@ #include <sys/time.h> #include <sys/stat.h> -#if defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__OpenBSD__) /* do nothing -- futimes exists and is fine */ #elif defined(__SunOS5_9__) |