From fe4af31b7a1d16392336ec6ce76a0f7ea3e6c835 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 3 Jul 2003 15:55:12 +0000 Subject: [PATCH] Fix missing config.h and unistd.h includes which were apparently removed from gst/gst.h recently Original commit message from CVS: Fix missing config.h and unistd.h includes which were apparently removed from gst/gst.h recently --- sys/v4l2/gstv4l2src.c | 4 ++++ sys/v4l2/v4l2_calls.c | 1 + 2 files changed, 5 insertions(+) diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index f28c59a..7825956 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include "v4l2src_calls.h" diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c index 6f01328..2ec6651 100644 --- a/sys/v4l2/v4l2_calls.c +++ b/sys/v4l2/v4l2_calls.c @@ -28,6 +28,7 @@ #include #include #include +#include #include "v4l2_calls.h" #define DEBUG(format, args...) \ -- 2.7.4