diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-07-03 15:55:12 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-07-03 15:55:12 +0000 |
commit | e6995d884c5e441c08111e79e056909b462fdaae (patch) | |
tree | 5a493ba5ed5a5bad009cab07a0cc5ae4984d467a | |
parent | 909a77f92ab8383d4a11cd5995086658d535cdcd (diff) | |
download | gst-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.c | 4 | ||||
-rw-r--r-- | sys/v4l2/v4l2_calls.c | 1 |
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...) \ |