gem (1:0.93.3-5) fixincludes.patch

Summary

 plugins/recordV4L/recordV4L.cpp   |    2 +-
 plugins/recordV4L2/recordV4L2.cpp |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

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);