fswebcam (20100622-1) 01-Use-kernel-headers.patch

Summary

 src_v4l1.c |    2 +-
 src_v4l2.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

# Description: Use headers from linux-libc-dev instead of the old included ones.
# Author: Luca Niccoli <lultimouomo@gmail.com>
# Forwarded: not-needed

Index: fswebcam-20100401/src_v4l1.c
===================================================================
--- fswebcam-20100401.orig/src_v4l1.c	2010-03-25 00:48:36.000000000 +0100
+++ fswebcam-20100401/src_v4l1.c	2010-04-05 13:01:32.000000000 +0200
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
-#include "videodev.h"
+#include <linux/videodev.h>
 #include "videodev_mjpeg.h"
 #include "src.h"
 #include "log.h"
Index: fswebcam-20100401/src_v4l2.c
===================================================================
--- fswebcam-20100401.orig/src_v4l2.c	2010-03-30 23:53:08.000000000 +0200
+++ fswebcam-20100401/src_v4l2.c	2010-04-05 13:01:32.000000000 +0200
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
-#include "videodev2.h"
+#include <linux/videodev2.h>
 #include "src.h"
 #include "log.h"