diff options
Diffstat (limited to 'test/test_vevent.c')
-rw-r--r-- | test/test_vevent.c | 6 |
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; } - |