summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-03 15:55:12 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-03 15:55:12 +0000
commite6995d884c5e441c08111e79e056909b462fdaae (patch)
tree5a493ba5ed5a5bad009cab07a0cc5ae4984d467a
parent909a77f92ab8383d4a11cd5995086658d535cdcd (diff)
downloadgst-plugins-bad-e6995d884c5e441c08111e79e056909b462fdaae.tar.gz
gst-plugins-bad-e6995d884c5e441c08111e79e056909b462fdaae.tar.bz2
gst-plugins-bad-e6995d884c5e441c08111e79e056909b462fdaae.zip
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
-rw-r--r--sys/v4l2/gstv4l2src.c4
-rw-r--r--sys/v4l2/v4l2_calls.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index f28c59a6..7825956b 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 <string.h>
#include <sys/time.h>
#include "v4l2src_calls.h"
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index 6f01328f..2ec66510 100644
--- a/sys/v4l2/v4l2_calls.c
+++ b/sys/v4l2/v4l2_calls.c
@@ -28,6 +28,7 @@
#include <sys/mman.h>
#include <string.h>
#include <errno.h>
+#include <unistd.h>
#include "v4l2_calls.h"
#define DEBUG(format, args...) \