summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusStubAdapterHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommonAPI/DBus/DBusStubAdapterHelper.h')
-rw-r--r--src/CommonAPI/DBus/DBusStubAdapterHelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CommonAPI/DBus/DBusStubAdapterHelper.h b/src/CommonAPI/DBus/DBusStubAdapterHelper.h
index ee627a3..b936f57 100644
--- a/src/CommonAPI/DBus/DBusStubAdapterHelper.h
+++ b/src/CommonAPI/DBus/DBusStubAdapterHelper.h
@@ -4,6 +4,11 @@
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#if !defined (COMMONAPI_INTERNAL_COMPILATION)
+#error "Only <CommonAPI/CommonAPI.h> can be included directly, this file may disappear or change contents."
+#endif
+
#ifndef COMMONAPI_DBUS_DBUS_STUB_ADAPTER_HELPER_H_
#define COMMONAPI_DBUS_DBUS_STUB_ADAPTER_HELPER_H_