summarylogtreecommitdiffstats
path: root/patch-v4l2.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patch-v4l2.diff')
-rw-r--r--patch-v4l2.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-v4l2.diff b/patch-v4l2.diff
new file mode 100644
index 000000000000..a7c2478b25b6
--- /dev/null
+++ b/patch-v4l2.diff
@@ -0,0 +1,11 @@
+diff -aur baresip-0.4.20.orig/modules/v4l2_codec/v4l2_codec.c baresip-0.4.20/modules/v4l2_codec/v4l2_codec.c
+--- baresip-0.4.20.orig/modules/v4l2_codec/v4l2_codec.c 2016-12-03 12:43:50.201286104 +0100
++++ baresip-0.4.20/modules/v4l2_codec/v4l2_codec.c 2016-12-03 12:44:30.328673626 +0100
+@@ -3,6 +3,7 @@
+ *
+ * Copyright (C) 2010 - 2015 Creytiv.com
+ */
++#define _DEFAULT_SOURCE 1
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>