aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ioctl_meteor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/ioctl_meteor.h')
-rw-r--r--sys/sys/ioctl_meteor.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/sys/ioctl_meteor.h b/sys/sys/ioctl_meteor.h
index f4325504e723..919100f8d534 100644
--- a/sys/sys/ioctl_meteor.h
+++ b/sys/sys/ioctl_meteor.h
@@ -32,10 +32,13 @@
* ioctl constants for Matrox Meteor Capture card.
*/
-#ifndef _MACHINE_IOCTL_METEOR_H
-#define _MACHINE_IOCTL_METEOR_H
+#ifndef _MACHINE_IOCTL_METEOR_H_
+#define _MACHINE_IOCTL_METEOR_H_
-#include <sys/ioctl.h>
+#ifndef KERNEL
+#include <sys/types.h>
+#endif
+#include <sys/ioccom.h>
struct meteor_capframe {
short command; /* see below for valid METEORCAPFRM commands */
@@ -179,4 +182,4 @@ struct meteor_mem {
caddr_t buf; /* The real space (virtual addr) */
} ;
-#endif /* ifndef _MACHINE_IOCTL_METEOR_H */
+#endif /* !_MACHINE_IOCTL_METEOR_H_ */