summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/sonypi.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmilo/kmilo_kvaio/sonypi.h')
-rw-r--r--kmilo/kmilo_kvaio/sonypi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmilo/kmilo_kvaio/sonypi.h b/kmilo/kmilo_kvaio/sonypi.h
index 43cfc80..658c5ed 100644
--- a/kmilo/kmilo_kvaio/sonypi.h
+++ b/kmilo/kmilo_kvaio/sonypi.h
@@ -36,7 +36,9 @@
#ifndef _SONYPI_H_
#define _SONYPI_H_
+#ifdef Q_OS_LINUX
#include <linux/types.h>
+#endif /* Linux */
/* events the user application reading /dev/sonypi can use */