Original commit message from CVS:
Fix missing config.h and unistd.h includes which were apparently removed from gst/gst.h recently
* Boston, MA 02111-1307, USA.
*/
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include <sys/time.h>
#include "v4l2src_calls.h"
#include <string.h>
#include <sys/time.h>
#include "v4l2src_calls.h"
#include <sys/mman.h>
#include <string.h>
#include <errno.h>
#include <sys/mman.h>
#include <string.h>
#include <errno.h>
#include "v4l2_calls.h"
#define DEBUG(format, args...) \
#include "v4l2_calls.h"
#define DEBUG(format, args...) \