From c5a67c5f6366498367b1ca6d6dbd8f8e19b76e5e Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 27 Jun 2010 12:43:21 +0000 Subject: [PATCH] Attempt to fix compilation error --- panda/src/vision/webcamVideoCursorV4L.cxx | 4 ++-- panda/src/vision/webcamVideoCursorV4L.h | 2 ++ panda/src/vision/webcamVideoV4L.cxx | 4 +++- panda/src/vision/webcamVideoV4L.h | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) 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"