summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthieu <matthieu@openbsd.org>1997-08-30 07:55:17 +0000
committermatthieu <matthieu@openbsd.org>1997-08-30 07:55:17 +0000
commit05e22a7a86ab21705405da18d4b182873a254929 (patch)
tree1d1848c2de2bcc353fc4683d6a59ca7823ebe462
parentdon't muck w/ MBR on !hd (diff)
downloadwireguard-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.c4
-rw-r--r--usr.sbin/ssio/set_scanner.c4
-rw-r--r--usr.sbin/ssio/use_adf.c4
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>