summaryrefslogtreecommitdiff
path: root/src/polkitbackend
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2010-08-09 14:58:17 -0400
committerDavid Zeuthen <davidz@redhat.com>2010-08-09 15:01:23 -0400
commit7b0c5269dadec47e55beca398ce6d571b32438e6 (patch)
treee2493e799526fe0c4456ff98e07e4143a508d498 /src/polkitbackend
parenta87f392f05d341c5628939b110ae018af33fabb1 (diff)
Properly reference headers
Based on a patch from Jonathan Conder <j@skurvy.no-ip.org>, see https://bugs.freedesktop.org/show_bug.cgi?id=25798 Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'src/polkitbackend')
-rw-r--r--src/polkitbackend/polkitbackend.h2
-rw-r--r--src/polkitbackend/polkitbackendactionlookup.h4
-rw-r--r--src/polkitbackend/polkitbackendauthority.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/polkitbackend/polkitbackend.h b/src/polkitbackend/polkitbackend.h
index 8eed99d..9b79d14 100644
--- a/src/polkitbackend/polkitbackend.h
+++ b/src/polkitbackend/polkitbackend.h
@@ -24,7 +24,7 @@
#include <polkit/polkit.h>
-#if !defined (POLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE) && !defined (POLKIT_BACKEND_COMPILATION)
+#if !defined (POLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE) && !defined (_POLKIT_BACKEND_COMPILATION)
#error "libpolkitbackend is unstable API and subject to change. You must define POLKIT_BACKEND_I_KNOW_API_IS_SUBJECT_TO_CHANGE to acknowledge this."
#endif
diff --git a/src/polkitbackend/polkitbackendactionlookup.h b/src/polkitbackend/polkitbackendactionlookup.h
index 8389a55..1fbae16 100644
--- a/src/polkitbackend/polkitbackendactionlookup.h
+++ b/src/polkitbackend/polkitbackendactionlookup.h
@@ -27,7 +27,9 @@
#define __POLKIT_BACKEND_ACTION_LOOKUP_H
#include <glib-object.h>
-#include "polkitbackendtypes.h"
+
+#include <polkit/polkit.h>
+#include <polkitbackend/polkitbackendtypes.h>
G_BEGIN_DECLS
diff --git a/src/polkitbackend/polkitbackendauthority.h b/src/polkitbackend/polkitbackendauthority.h
index e9879a7..7c6dc6d 100644
--- a/src/polkitbackend/polkitbackendauthority.h
+++ b/src/polkitbackend/polkitbackendauthority.h
@@ -28,7 +28,8 @@
#include <glib-object.h>
-#include "polkitbackendtypes.h"
+#include <polkit/polkit.h>
+#include <polkitbackend/polkitbackendtypes.h>
G_BEGIN_DECLS