diff options
author | Mark Purcell <msp@debian.org> | 2008-06-22 11:00:40 +1000 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2013-09-03 09:48:42 +0200 |
commit | 891c51ff368ed700dec6025eeb47ce4d96f76418 (patch) | |
tree | 3729664829e4faa691d403274f38eb10890b533c /test/test_vevent.c | |
parent | 1c6e1f28f54ec2606c23936c1d8689f2be55a86c (diff) | |
parent | ab959d7b4194715870128e616b8e29d4a101e488 (diff) | |
download | linux-dvb-apps-891c51ff368ed700dec6025eeb47ce4d96f76418.tar.gz |
Imported Debian patch 1.1.1+rev1207-1debian/1.1.1+rev1207-1
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; } - |