diff options
author | 1997-08-30 07:55:17 +0000 | |
---|---|---|
committer | 1997-08-30 07:55:17 +0000 | |
commit | 05e22a7a86ab21705405da18d4b182873a254929 (patch) | |
tree | 1d1848c2de2bcc353fc4683d6a59ca7823ebe462 | |
parent | don't muck w/ MBR on !hd (diff) | |
download | wireguard-openbsd-05e22a7a86ab21705405da18d4b182873a254929.tar.xz wireguard-openbsd-05e22a7a86ab21705405da18d4b182873a254929.zip |
ifdef __NetBSD__ -> if defined(__NetBSD__) || defined(__OpenBSD__)
to compile on OpenBSD
-rw-r--r-- | usr.sbin/ssio/get_scanner.c | 4 | ||||
-rw-r--r-- | usr.sbin/ssio/set_scanner.c | 4 | ||||
-rw-r--r-- | usr.sbin/ssio/use_adf.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ssio/get_scanner.c b/usr.sbin/ssio/get_scanner.c index 9c6458ef8ad..ac63a46155f 100644 --- a/usr.sbin/ssio/get_scanner.c +++ b/usr.sbin/ssio/get_scanner.c @@ -1,4 +1,4 @@ -static char *rcs_id = "$Id: get_scanner.c,v 1.1 1997/03/11 03:23:13 kstailey Exp $"; +static char *rcs_id = "$Id: get_scanner.c,v 1.2 1997/08/30 07:55:17 matthieu Exp $"; /* * Copyright (c) 1995 Kenneth Stailey * All rights reserved. @@ -38,7 +38,7 @@ static char *rcs_id = "$Id: get_scanner.c,v 1.1 1997/03/11 03:23:13 kstailey Exp #include <stdio.h> #include <string.h> #include <fcntl.h> -#ifdef __NetBSD__ +#if defined (__NetBSD__) || defined(__OpenBSD__) #include <sys/ioctl.h> #endif #include <sys/scanio.h> diff --git a/usr.sbin/ssio/set_scanner.c b/usr.sbin/ssio/set_scanner.c index 48f419cf3cf..2ab48fa6ee0 100644 --- a/usr.sbin/ssio/set_scanner.c +++ b/usr.sbin/ssio/set_scanner.c @@ -1,4 +1,4 @@ -static char *rcs_id = "$Id: set_scanner.c,v 1.1 1997/03/11 03:23:17 kstailey Exp $"; +static char *rcs_id = "$Id: set_scanner.c,v 1.2 1997/08/30 07:55:17 matthieu Exp $"; /* * Copyright (c) 1995 Kenneth Stailey * All rights reserved. @@ -43,7 +43,7 @@ static char *rcs_id = "$Id: set_scanner.c,v 1.1 1997/03/11 03:23:17 kstailey Exp #include <stdio.h> #include <string.h> #include <fcntl.h> -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) #include <sys/ioctl.h> #endif #include <sys/scanio.h> diff --git a/usr.sbin/ssio/use_adf.c b/usr.sbin/ssio/use_adf.c index fca15923eb9..d95f6d1c430 100644 --- a/usr.sbin/ssio/use_adf.c +++ b/usr.sbin/ssio/use_adf.c @@ -1,4 +1,4 @@ -static char *rcs_id = "$Id: use_adf.c,v 1.1 1997/03/11 03:23:18 kstailey Exp $"; +static char *rcs_id = "$Id: use_adf.c,v 1.2 1997/08/30 07:55:17 matthieu Exp $"; /* * Copyright (c) 1995 Kenneth Stailey * All rights reserved. @@ -36,7 +36,7 @@ static char *rcs_id = "$Id: use_adf.c,v 1.1 1997/03/11 03:23:18 kstailey Exp $"; */ #include <sys/types.h> -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) # include <sys/ioctl.h> #endif #include <sys/scanio.h> |