PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Mon Aug 9 12:01:52 PDT 2010


 src/polkitbackend/polkitbackend.h             |    2 +-
 src/polkitbackend/polkitbackendactionlookup.h |    4 +++-
 src/polkitbackend/polkitbackendauthority.h    |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 7b0c5269dadec47e55beca398ce6d571b32438e6
Author: David Zeuthen <davidz at redhat.com>
Date:   Mon Aug 9 14:58:17 2010 -0400

    Properly reference headers
    
    Based on a patch from Jonathan Conder <j at skurvy.no-ip.org>, see
    https://bugs.freedesktop.org/show_bug.cgi?id=25798
    
    Signed-off-by: David Zeuthen <davidz at redhat.com>

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
 


More information about the hal-commit mailing list