diff --git a/panda/src/vision/webcamVideoCursorV4L.cxx b/panda/src/vision/webcamVideoCursorV4L.cxx index cc0564d0c0..f31a5a9be5 100644 --- a/panda/src/vision/webcamVideoCursorV4L.cxx +++ b/panda/src/vision/webcamVideoCursorV4L.cxx @@ -12,10 +12,10 @@ // //////////////////////////////////////////////////////////////////// -#ifdef IS_LINUX - #include "webcamVideoV4L.h" +#ifdef IS_LINUX + #include #include #include diff --git a/panda/src/vision/webcamVideoCursorV4L.h b/panda/src/vision/webcamVideoCursorV4L.h index 9463957e2f..34f43cb50a 100644 --- a/panda/src/vision/webcamVideoCursorV4L.h +++ b/panda/src/vision/webcamVideoCursorV4L.h @@ -15,6 +15,8 @@ #ifndef WEBCAMVIDEOCURSORV4L_H #define WEBCAMVIDEOCURSORV4L_H +#include "pandabase.h" + #ifdef IS_LINUX #include "webcamVideo.h" diff --git a/panda/src/vision/webcamVideoV4L.cxx b/panda/src/vision/webcamVideoV4L.cxx index c9a14e261f..ae4741aa2e 100644 --- a/panda/src/vision/webcamVideoV4L.cxx +++ b/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 #include diff --git a/panda/src/vision/webcamVideoV4L.h b/panda/src/vision/webcamVideoV4L.h index ed92c23e88..7caae2ec50 100644 --- a/panda/src/vision/webcamVideoV4L.h +++ b/panda/src/vision/webcamVideoV4L.h @@ -15,6 +15,8 @@ #ifndef WEBCAMVIDEOV4L_H #define WEBCAMVIDEOV4L_H +#include "pandabase.h" + #ifdef IS_LINUX #include "webcamVideo.h"