summaryrefslogtreecommitdiff
path: root/usr.sbin/ssio/set_scanner.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>1997-08-30 07:55:18 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>1997-08-30 07:55:18 +0000
commitfc4dd8af272e10ec6bdb1ca466f3c9aa479bdeff (patch)
tree0ea9ef88d84bde85cd2874bda871d5a1f146c24e /usr.sbin/ssio/set_scanner.c
parent0c3d9b3e167ecbadde8d858630d069f66dcfc70d (diff)
ifdef __NetBSD__ -> if defined(__NetBSD__) || defined(__OpenBSD__)
to compile on OpenBSD
Diffstat (limited to 'usr.sbin/ssio/set_scanner.c')
-rw-r--r--usr.sbin/ssio/set_scanner.c4
1 files changed, 2 insertions, 2 deletions
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>