Fix missing config.h and unistd.h includes which were apparently removed from gst...
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 3 Jul 2003 15:55:12 +0000 (15:55 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Thu, 3 Jul 2003 15:55:12 +0000 (15:55 +0000)
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
sys/v4l2/v4l2_calls.c

index f28c59a..7825956 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <string.h>
 #include <sys/time.h>
 #include "v4l2src_calls.h"
index 6f01328..2ec6651 100644 (file)
@@ -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...) \