summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/avdevice/videodevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/avdevice/videodevice.h')
-rw-r--r--kopete/libkopete/avdevice/videodevice.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/kopete/libkopete/avdevice/videodevice.h b/kopete/libkopete/avdevice/videodevice.h
index dd9047c9..970f6655 100644
--- a/kopete/libkopete/avdevice/videodevice.h
+++ b/kopete/libkopete/avdevice/videodevice.h
@@ -35,8 +35,8 @@
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
-#if defined HAVE_LINUX_VIDEODEV_H
-#include <linux/videodev.h>
+#if defined VIDEODEV_HEADER
+#include VIDEODEV_HEADER
#endif
#if defined(__linux__)
#include <asm/types.h>
@@ -59,10 +59,8 @@
#include <linux/fs.h>
#include <linux/kernel.h>
#endif
-#if defined(HAVE_LIBV4L1_VIDEODEV_H)
-#include <libv4l1-videodev.h>
-#elif defined(HAVE_LINUX_VIDEODEV_H)
-#include <linux/videodev.h>
+#if defined(VIDEODEV_HEADER)
+#include VIDEODEV_HEADER
#else
#undef ENABLE_AV
#endif