Browse Source

Fix compile errors

rdb 15 years ago
parent
commit
5e1af4fd46
2 changed files with 4 additions and 0 deletions
  1. 2 0
      panda/src/vision/webcamVideoCursorV4L.cxx
  2. 2 0
      panda/src/vision/webcamVideoV4L.cxx

+ 2 - 0
panda/src/vision/webcamVideoCursorV4L.cxx

@@ -16,7 +16,9 @@
 
 #ifdef IS_LINUX
 
+#include <fcntl.h>
 #include <sys/mman.h>
+#include <sys/ioctl.h>
 #include <linux/videodev.h>
 #include <linux/videodev2.h>
 

+ 2 - 0
panda/src/vision/webcamVideoV4L.cxx

@@ -19,6 +19,8 @@
 #include "webcamVideoCursorV4L.h"
 #include "dcast.h"
 
+#include <fcntl.h>
+#include <sys/ioctl.h>
 #include <linux/videodev.h>
 #include <linux/videodev2.h>