summaryrefslogtreecommitdiff
path: root/usr.sbin/ssio/get_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/get_scanner.c
parent0c3d9b3e167ecbadde8d858630d069f66dcfc70d (diff)
ifdef __NetBSD__ -> if defined(__NetBSD__) || defined(__OpenBSD__)
to compile on OpenBSD
Diffstat (limited to 'usr.sbin/ssio/get_scanner.c')
-rw-r--r--usr.sbin/ssio/get_scanner.c4
1 files changed, 2 insertions, 2 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>