aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_vevent.c
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:41 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:41 +0200
commitab959d7b4194715870128e616b8e29d4a101e488 (patch)
tree61a746231d30817be73416a7d67763fd677a1042 /test/test_vevent.c
parent6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff)
downloadlinux-dvb-apps-ab959d7b4194715870128e616b8e29d4a101e488.tar.gz
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to 'test/test_vevent.c')
-rw-r--r--test/test_vevent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_vevent.c b/test/test_vevent.c
index f61143e..bfd0369 100644
--- a/test/test_vevent.c
+++ b/test/test_vevent.c
@@ -1,4 +1,4 @@
-/*
+/*
* test_vevent.c - Test VIDEO_GET_EVENT and poll(9 for video events
*
* Copyright (C) 2003 convergence GmbH
@@ -29,6 +29,7 @@
#include <time.h>
#include <unistd.h>
+#include <linux/types.h>
#include <linux/dvb/video.h>
@@ -73,7 +74,7 @@ int main(void)
printf("using video device '%s'\n", videodev);
- if((vfd = open(videodev, O_RDONLY | O_NONBLOCK)) < 0) {
+ if ((vfd = open(videodev, O_RDONLY | O_NONBLOCK)) < 0) {
perror("open video device");
return 1;
}
@@ -122,4 +123,3 @@ int main(void)
close(vfd);
return 0;
}
-