packages/net/baresip/patches/100-videodev-compat.patch

12 lines
288 B
Diff
Raw Normal View History

--- a/modules/v4l/v4l.c
+++ b/modules/v4l/v4l.c
@@ -14,7 +14,7 @@
#include <fcntl.h>
#include <unistd.h>
#undef __STRICT_ANSI__ /* needed for RHEL4 kernel 2.6.9 */
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
#include <pthread.h>
#include <re.h>
#include <baresip.h>