summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-18 13:54:30 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-18 14:28:25 +0200
commit0f2ad67259c94671dd9b3b1960ccf7aebe31f292 (patch)
tree80ba132f0ec28c9d71c1b6fbae7ff04d27dff161 /tdeioslave/media
parent46a0c294dfa00a6f31872e9adad44b5c4f819ea9 (diff)
downloadtdebase-0f2ad67259c94671dd9b3b1960ccf7aebe31f292.tar.gz
tdebase-0f2ad67259c94671dd9b3b1960ccf7aebe31f292.zip
Fix FTBFS on openbsd because of missing header in tdeioslave_media
Signed-off-by: François Andriot <francois.andriot@free.fr>"
Diffstat (limited to 'tdeioslave/media')
-rw-r--r--tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
index dc46e8287..61c5ccbbd 100644
--- a/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
+++ b/tdeioslave/media/tdefile-plugin/tdefilemediaplugin.cpp
@@ -33,6 +33,9 @@
#ifdef HAVE_STATVFS
# include <sys/statvfs.h>
#else
+# ifdef __OpenBSD__
+# include <sys/param.h>
+# endif
# include <sys/mount.h>
# define statvfs statfs
# define f_frsize f_bsize