From 56004b0df681acafb61124b921fb14fb0ad356d8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 2 Mar 2007 11:22:35 +0000 Subject: [PATCH] ext/hal/hal.c: Fix compilation. Original commit message from CVS: * ext/hal/hal.c: Fix compilation. --- ChangeLog | 5 +++++ ext/hal/hal.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1dc29c6cb1..57841f59be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-02 Wim Taymans + + * ext/hal/hal.c: + Fix compilation. + 2007-03-02 Wim Taymans * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_class_init), diff --git a/ext/hal/hal.c b/ext/hal/hal.c index 3f68da9312..6858aeae0d 100644 --- a/ext/hal/hal.c +++ b/ext/hal/hal.c @@ -35,6 +35,11 @@ GST_DEBUG_CATEGORY_EXTERN (hal_debug); #define GST_CAT_DEFAULT hal_debug +/* compat for older libhal */ +#ifndef LIBHAL_FREE_DBUS_ERROR +#define LIBHAL_FREE_DBUS_ERROR(e) dbus_error_free (e) +#endif + /** * gst_hal_get_alsa_element: * @ctx: a #LibHalContext which should be used for querying HAL.