projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4652d4d
)
Include <linux/ioctl32.h> if using old-style register_ioctl32_conversion.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 12 Dec 2007 11:34:01 +0000
(11:34 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 12 Dec 2007 11:34:01 +0000
(11:34 +0000)
comedi/comedi_compat32.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_compat32.c
b/comedi/comedi_compat32.c
index 22e99fc9d43ab92032d2dd5ead68ade3fe0d84e4..4dedc967c82cdb40fcc544038226f4888fd3f33c 100644
(file)
--- a/
comedi/comedi_compat32.c
+++ b/
comedi/comedi_compat32.c
@@
-33,6
+33,10
@@
#ifdef CONFIG_COMPAT
+#ifndef HAVE_COMPAT_IOCTL
+#include <linux/ioctl32.h> /* for (un)register_ioctl32_conversion */
+#endif
+
#define COMEDI32_CHANINFO _IOR(CIO,3,comedi32_chaninfo)
#define COMEDI32_RANGEINFO _IOR(CIO,8,comedi32_rangeinfo)
/* N.B. COMEDI32_CMD and COMEDI_CMD ought to use _IOWR, not _IOR.