aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1997-03-11 19:38:02 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1997-03-11 19:38:02 +0000
commitad27a972d0add5f89ad257034f244777f894c06e (patch)
tree185a2f986885440c2a0f81837cb6355ab0780b52
parente1dfe717ec73a4e1b89b0c43b2104e638902739c (diff)
downloadsrc-ad27a972d0add5f89ad257034f244777f894c06e.tar.gz
src-ad27a972d0add5f89ad257034f244777f894c06e.zip
Retrofit Bruce's changes from rev 1.7.
Notes
Notes: svn path=/head/; revision=23736
-rw-r--r--sys/sys/chio.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys/sys/chio.h b/sys/sys/chio.h
index 4affe23cb26d..abf9ae731321 100644
--- a/sys/sys/chio.h
+++ b/sys/sys/chio.h
@@ -29,11 +29,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: chio.h,v 1.9 1997/02/22 09:44:56 peter Exp $
+ * $Id: chio.h,v 1.10 1997/03/06 15:36:45 joerg Exp $
*/
-#ifndef _SYS_CHIO_H_
-#define _SYS_CHIO_H_
+#ifndef _SYS_CHIO_H_
+#define _SYS_CHIO_H_
+
+#ifndef KERNEL
+#include <sys/types.h>
+#endif
+#include <sys/ioccom.h>
/*
* Element types. Used as "to" and "from" type indicators in move
@@ -148,4 +153,4 @@ struct changer_element_status {
#define CHIOGPARAMS _IOR('c', 0x06, struct changer_params)
#define CHIOGSTATUS _IOW('c', 0x08, struct changer_element_status)
-#endif /* _SYS_CHIO_H_ */
+#endif /* !_SYS_CHIO_H_ */