diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-08-01 17:58:16 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-08-01 18:07:09 +0200 |
commit | 6b1e323cd22f19d8517d344ce8ae4e0a19769028 (patch) | |
tree | a09c3fc21894b12fbeee47ccb1529966c023ffb4 /tdecore | |
parent | 5da63fe957a5725d18bf2bdf92b5648815a444cc (diff) | |
download | tdelibs-6b1e323cd22f19d8517d344ce8ae4e0a19769028.tar.gz tdelibs-6b1e323cd22f19d8517d344ce8ae4e0a19769028.zip |
Fix FTBFS on libudev includes
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdehardwaredevices.cpp | 2 | ||||
-rw-r--r-- | tdecore/tdehardwaredevices.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp index 73c3a0703..f66d7f678 100644 --- a/tdecore/tdehardwaredevices.cpp +++ b/tdecore/tdehardwaredevices.cpp @@ -33,7 +33,9 @@ #include <tdeapplication.h> #include <dcopclient.h> +extern "C" { #include <libudev.h> +} #include <fcntl.h> #include <poll.h> 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> |