Package: gem / 1:0.93.3-7

fixincludes.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: IOhannes m zmölnig
Description: include <unistd.h> when missing (gcc-4.7 is picky about that)
--- gem.orig/plugins/recordV4L2/recordV4L2.cpp
+++ gem/plugins/recordV4L2/recordV4L2.cpp
@@ -33,6 +33,7 @@
 #include <stdio.h>
 
 #include <stdlib.h>
+#include <unistd.h>
 
 
 #ifdef  HAVE_VIDEO4LINUX2
--- gem.orig/plugins/recordV4L/recordV4L.cpp
+++ gem/plugins/recordV4L/recordV4L.cpp
@@ -32,7 +32,7 @@
 #include <stdio.h>
 
 #include <stdlib.h>
-
+#include <unistd.h>
 
 #ifdef  HAVE_VIDEO4LINUX
 REGISTER_RECORDFACTORY("V4L", recordV4L);