diff options
author | mbr <mbr@FreeBSD.org> | 2003-08-03 10:39:29 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-08-03 10:39:29 +0000 |
commit | 17b80ff15f8ad31697a0ac929d9b8f27a3cff7fe (patch) | |
tree | 0d4b73fc06955d9d95dd780e6536a978b16813f2 /share/examples/kld/cdev/test/testcdev.c | |
parent | 61f64f46abd80f685e2ccab03038a3b85962c1ce (diff) | |
download | FreeBSD-src-17b80ff15f8ad31697a0ac929d9b8f27a3cff7fe.zip FreeBSD-src-17b80ff15f8ad31697a0ac929d9b8f27a3cff7fe.tar.gz |
Fix the cdev kld example.
PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk
Diffstat (limited to 'share/examples/kld/cdev/test/testcdev.c')
-rw-r--r-- | share/examples/kld/cdev/test/testcdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/examples/kld/cdev/test/testcdev.c b/share/examples/kld/cdev/test/testcdev.c index d69c3f5..0a61181 100644 --- a/share/examples/kld/cdev/test/testcdev.c +++ b/share/examples/kld/cdev/test/testcdev.c @@ -75,6 +75,7 @@ #include <fcntl.h> #include <paths.h> #include <string.h> +#include <sys/types.h> #include <sys/ioccom.h> #define CDEV_IOCTL1 _IOR('C', 1, u_int) |