*
**************************************************************************/
-#if !defined (POLKIT_COMPILATION)
-#error "polkit-memory.h is a private file"
+#if !defined (POLKIT_COMPILATION) && !defined(_POLKIT_INSIDE_POLKIT_H)
+#error "Only <polkit/polkit.h> can be included directly, this file may disappear or change contents."
#endif
#ifndef POLKIT_MEMORY_H
#define _POLKIT_INSIDE_POLKIT_H 1
#include <polkit/polkit-types.h>
+#include <polkit/polkit-memory.h>
+#include <polkit/polkit-hash.h>
#include <polkit/polkit-sysdeps.h>
#include <polkit/polkit-error.h>
#include <polkit/polkit-result.h>