From 6b1e323cd22f19d8517d344ce8ae4e0a19769028 Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Thu, 1 Aug 2013 17:58:16 +0200 Subject: Fix FTBFS on libudev includes --- tdecore/tdehardwaredevices.cpp | 2 ++ tdecore/tdehardwaredevices.h | 2 ++ 2 files changed, 4 insertions(+) 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 #include +extern "C" { #include +} #include #include 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 +} #include #include #include -- cgit v1.2.1