aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kaffeine/files/patch-dvbdevice_linux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp b/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
index e391c16e5a4d..4eb9c5903ae2 100644
--- a/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
+++ b/multimedia/kaffeine/files/patch-dvbdevice_linux.cpp
@@ -4,7 +4,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <dirent.h>
-+#ifndef __FreeBSD__
++#if ! (defined __FreeBSD__ || defined __DragonFly__)
#include <sys/inotify.h>
+#endif
#include <vector>
@@ -14,7 +14,7 @@
runstate = 1;
-+#ifndef __FreeBSD__
++#if ! (defined __FreeBSD__ || defined __DragonFly__)
ifd = inotify_init();
inotify_add_watch(ifd, "/dev/dvb", IN_CREATE|IN_DELETE);
+#endif