summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/grab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/grab.c b/libavformat/grab.c
index cd4b8fe..d2b2cc9 100644
--- a/libavformat/grab.c
+++ b/libavformat/grab.c
@@ -17,12 +17,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "avformat.h"
-#include <linux/videodev.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
+#define _LINUX_TIME_H 1
+#include <linux/videodev.h>
#include <time.h>
typedef struct {
OpenPOWER on IntegriCloud