summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-08-01 17:58:16 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-08-01 18:07:09 +0200
commit6b1e323cd22f19d8517d344ce8ae4e0a19769028 (patch)
treea09c3fc21894b12fbeee47ccb1529966c023ffb4 /tdecore/tdehardwaredevices.h
parent5da63fe957a5725d18bf2bdf92b5648815a444cc (diff)
downloadtdelibs-6b1e323cd22f19d8517d344ce8ae4e0a19769028.tar.gz
tdelibs-6b1e323cd22f19d8517d344ce8ae4e0a19769028.zip
Fix FTBFS on libudev includes
Diffstat (limited to 'tdecore/tdehardwaredevices.h')
-rw-r--r--tdecore/tdehardwaredevices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.h b/tdecore/tdehardwaredevices.h
index fcf60533d..e7a7a3e26 100644
--- a/tdecore/tdehardwaredevices.h
+++ b/tdecore/tdehardwaredevices.h
@@ -27,7 +27,9 @@
#include "tdelibs_export.h"
// udev includes
+extern "C" {
#include <libudev.h>
+}
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>