Jelajahi Sumber

Attempt to fix compilation error

rdb 15 tahun lalu
induk
melakukan
c5a67c5f63

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

@@ -12,10 +12,10 @@
 //
 ////////////////////////////////////////////////////////////////////
 
-#ifdef IS_LINUX
-
 #include "webcamVideoV4L.h"
 
+#ifdef IS_LINUX
+
 #include <sys/mman.h>
 #include <linux/videodev.h>
 #include <linux/videodev2.h>

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

@@ -15,6 +15,8 @@
 #ifndef WEBCAMVIDEOCURSORV4L_H
 #define WEBCAMVIDEOCURSORV4L_H
 
+#include "pandabase.h"
+
 #ifdef IS_LINUX
 
 #include "webcamVideo.h"

+ 3 - 1
panda/src/vision/webcamVideoV4L.cxx

@@ -12,10 +12,12 @@
 //
 ////////////////////////////////////////////////////////////////////
 
+#include "webcamVideoV4L.h"
+
 #ifdef IS_LINUX
 
-#include "webcamVideoV4L.h"
 #include "webcamVideoCursorV4L.h"
+#include "dcast.h"
 
 #include <linux/videodev.h>
 #include <linux/videodev2.h>

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

@@ -15,6 +15,8 @@
 #ifndef WEBCAMVIDEOV4L_H
 #define WEBCAMVIDEOV4L_H
 
+#include "pandabase.h"
+
 #ifdef IS_LINUX
 
 #include "webcamVideo.h"