summaryrefslogtreecommitdiff
path: root/libdevkit-power/dkp-stats-obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevkit-power/dkp-stats-obj.h')
-rw-r--r--libdevkit-power/dkp-stats-obj.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libdevkit-power/dkp-stats-obj.h b/libdevkit-power/dkp-stats-obj.h
index f29c09a..8daa68a 100644
--- a/libdevkit-power/dkp-stats-obj.h
+++ b/libdevkit-power/dkp-stats-obj.h
@@ -18,11 +18,15 @@
*
*/
+#if !defined (__DEVICEKIT_POWER_H_INSIDE__) && !defined (DKP_COMPILATION)
+#error "Only <devicekit-power.h> can be included directly."
+#endif
+
#ifndef __DKP_STATS_OBJ_H__
#define __DKP_STATS_OBJ_H__
#include <glib.h>
-#include "dkp-enum.h"
+#include <libdevkit-power/dkp-enum.h>
G_BEGIN_DECLS