summaryrefslogtreecommitdiff
path: root/libdevkit-power/dkp-enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevkit-power/dkp-enum.h')
-rw-r--r--libdevkit-power/dkp-enum.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdevkit-power/dkp-enum.h b/libdevkit-power/dkp-enum.h
index dc198fa..166b3b1 100644
--- a/libdevkit-power/dkp-enum.h
+++ b/libdevkit-power/dkp-enum.h
@@ -19,6 +19,10 @@
*
*/
+#if !defined (__DEVICEKIT_POWER_H_INSIDE__) && !defined (DKP_COMPILATION)
+#error "Only <devicekit-power.h> can be included directly."
+#endif
+
#ifndef __DKP_ENUM_H__
#define __DKP_ENUM_H__