summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2011-12-09 16:26:45 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-12-09 17:05:03 +0100
commita57f877b02104286f8644f5adc5aeca0d3c1ce36 (patch)
tree653b95ee3e39755123133f01fcb72c8eb0168ec2
parent4e2eb709c57740f139791060da9e75963928950b (diff)
Add missing header file sys/stat.h
This file defines the initial permission flags used by open when we create a file using O_CREAT flag. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--yavta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 3a98804..d081ad8 100644
--- a/yavta.c
+++ b/yavta.c
@@ -31,6 +31,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/select.h>
+#include <sys/stat.h>
#include <sys/time.h>
#include <linux/videodev2.h>