From e6995d884c5e441c08111e79e056909b462fdaae 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 f28c59a67c..7825956be5 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 6f01328f97..2ec66510c3 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...) \