summaryrefslogtreecommitdiff
path: root/src/backends/native/meta-input-settings-native.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/native/meta-input-settings-native.h')
-rw-r--r--src/backends/native/meta-input-settings-native.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/backends/native/meta-input-settings-native.h b/src/backends/native/meta-input-settings-native.h
index 43926fd5f..cddd5b15f 100644
--- a/src/backends/native/meta-input-settings-native.h
+++ b/src/backends/native/meta-input-settings-native.h
@@ -22,6 +22,10 @@
#ifndef META_INPUT_SETTINGS_NATIVE_H
#define META_INPUT_SETTINGS_NATIVE_H
+#ifndef META_INPUT_THREAD_H_INSIDE
+#error "This header cannot be included directly. Use "backends/native/meta-input-thread.h""
+#endif /* META_INPUT_THREAD_H_INSIDE */
+
#include "backends/meta-input-settings-private.h"
#define META_TYPE_INPUT_SETTINGS_NATIVE (meta_input_settings_native_get_type ())