hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Thu Jul 26 13:00:24 PDT 2007


 hald/device.h   |    4 ++++
 libhal/libhal.h |    4 ++++
 2 files changed, 8 insertions(+)

New commits:
diff-tree edb23c093069e45afc0fe17b01b669a32f07886d (from f43039ee9a0fea64b8550a0096e37b6954f60628)
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Thu Jul 26 21:59:29 2007 +0200

    fix build errors with D-Bus versions < v1.0
    
    Fix build errors with older D-Bus versions (< v1.0) where
    DBUS_API_SUBJECT_TO_CHANGE need to be defined.

diff --git a/hald/device.h b/hald/device.h
index cda0bc4..4141c63 100644
--- a/hald/device.h
+++ b/hald/device.h
@@ -27,6 +27,10 @@
 #ifndef DEVICE_H
 #define DEVICE_H
 
+#ifndef DBUS_API_SUBJECT_TO_CHANGE
+#define DBUS_API_SUBJECT_TO_CHANGE
+#endif 
+
 #include <glib-object.h>
 #include <dbus/dbus.h>
 
diff --git a/libhal/libhal.h b/libhal/libhal.h
index 3597ade..f5e3b54 100644
--- a/libhal/libhal.h
+++ b/libhal/libhal.h
@@ -27,6 +27,10 @@
 #ifndef LIBHAL_H
 #define LIBHAL_H
 
+#ifndef DBUS_API_SUBJECT_TO_CHANGE
+#define DBUS_API_SUBJECT_TO_CHANGE 
+#endif
+
 #include <dbus/dbus.h>
 
 #if defined(__cplusplus)


More information about the hal-commit mailing list