From 2652de9da3ad6362e6f6db93daf108da125fadf4 Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 24 Mar 1997 11:07:52 +0000 Subject: Don't default to (wrong) SCO definitions for _IOR() etc. if doesn't happen to be included before this header. This header was missed in previous cleanups because it didn't include or . Clean it now: - #include since it is necessary to make the header self- sufficient (there are a couple of u_char's). - uniformized idempotency ifdef. Copied the style in the 4.4Lite ioctl headers. --- sys/i386/include/qcam.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'sys/i386/include/qcam.h') diff --git a/sys/i386/include/qcam.h b/sys/i386/include/qcam.h index 5ec56de..77dd4fb 100644 --- a/sys/i386/include/qcam.h +++ b/sys/i386/include/qcam.h @@ -43,8 +43,13 @@ * number when the interface changes for now... */ -#ifndef _QUICKCAM_H -#define _QUICKCAM_H 1 +#ifndef _MACHINE_QUICKCAM_H_ +#define _MACHINE_QUICKCAM_H_ + +#ifndef KERNEL +#include +#endif +#include #ifndef _IOR /* SCO doesn't have _IOR/_IOW for ioctls, so fake it out to keep things clean*/ @@ -84,4 +89,4 @@ struct qcam { #define QC_ZOOM_150 0x01 /* 1.5x */ #define QC_ZOOM_200 0x02 /* 2.0x */ -#endif +#endif /* !_MACHINE_QUICKCAM_H_ */ -- cgit v1.1