summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/medianotifier
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-18 13:53:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-18 14:27:42 +0200
commit46a0c294dfa00a6f31872e9adad44b5c4f819ea9 (patch)
tree8c3b06ef704de94efc05994aae7d50f01dd9a823 /tdeioslave/media/medianotifier
parentb4c4c46639fd5008d9f0fa9632ded82ac96985d5 (diff)
downloadtdebase-46a0c294dfa00a6f31872e9adad44b5c4f819ea9.tar.gz
tdebase-46a0c294dfa00a6f31872e9adad44b5c4f819ea9.zip
Fix FTBFS on openbsd beacuse of invalid headers in tdeioslave_media
Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'tdeioslave/media/medianotifier')
-rw-r--r--tdeioslave/media/medianotifier/medianotifier.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdeioslave/media/medianotifier/medianotifier.cpp b/tdeioslave/media/medianotifier/medianotifier.cpp
index 2db917b25..4de36cad8 100644
--- a/tdeioslave/media/medianotifier/medianotifier.cpp
+++ b/tdeioslave/media/medianotifier/medianotifier.cpp
@@ -19,7 +19,13 @@
#include "medianotifier.h"
+#ifdef __OpenBSD__
+#include <sys/statvfs.h>
+#include <sys/param.h>
+#include <sys/mount.h>
+#else
#include <sys/vfs.h>
+#endif
#include <tqfile.h>
#include <tqfileinfo.h>