summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
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>