Properly reference headers
authorDavid Zeuthen <davidz@redhat.com>
Mon, 9 Aug 2010 18:58:17 +0000 (14:58 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 9 Aug 2010 19:01:23 +0000 (15:01 -0400)
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>
src/polkitbackend/polkitbackend.h
src/polkitbackend/polkitbackendactionlookup.h
src/polkitbackend/polkitbackendauthority.h

index 8eed99d6adb53805e84fe1ff4cde180de369dc3a..9b79d14118aaa972346c9c64bfeb265c83209c54 100644 (file)
@@ -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
 
index 8389a554e37efa0c6780538f968808f829c357a2..1fbae16b6836367ba463e9c58bc359ae6031dd58 100644 (file)
@@ -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
 
index e9879a7088b49e1a4ca0e792d385ffc16831a0ba..7c6dc6d290f5b568575ff87c32d01145fc53fd99 100644 (file)
@@ -28,7 +28,8 @@
 
 #include <glib-object.h>
 
-#include "polkitbackendtypes.h"
+#include <polkit/polkit.h>
+#include <polkitbackend/polkitbackendtypes.h>
 
 G_BEGIN_DECLS