distribution/packages/multimedia/zvbi/patches/zvbi-0020-ioctl.patch

18 lines
378 B
Diff

--- a/contrib/ntsc-cc.c
+++ b/contrib/ntsc-cc.c
@@ -32,7 +32,6 @@
#include <fcntl.h>
#include <errno.h>
#include <locale.h>
-#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
@@ -45,6 +44,7 @@
#include "src/libzvbi.h"
#ifdef ENABLE_V4L2
+# include <sys/ioctl.h>
# include <asm/types.h>
# include "src/videodev2k.h"
#endif