aboutsummaryrefslogtreecommitdiff
path: root/src/hardware_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_functions.cpp')
-rw-r--r--src/hardware_functions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hardware_functions.cpp b/src/hardware_functions.cpp
index c898aefe..82b4f0c7 100644
--- a/src/hardware_functions.cpp
+++ b/src/hardware_functions.cpp
@@ -49,6 +49,10 @@ QString get_hdid()
}
#elif defined __APPLE__
+
+#include <CoreFoundation/CoreFoundation.h>
+#include <IOKit/IOKitLib.h>
+
QString get_hdid()
{
CFStringRef serial;