ext/hal/hal.c: Fix compilation.

Original commit message from CVS:
* ext/hal/hal.c:
Fix compilation.
This commit is contained in:
Wim Taymans 2007-03-02 11:22:35 +00:00
parent 6ae9e04ab3
commit 56004b0df6
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-03-02 Wim Taymans <wim@fluendo.com>
* ext/hal/hal.c:
Fix compilation.
2007-03-02 Wim Taymans <wim@fluendo.com> 2007-03-02 Wim Taymans <wim@fluendo.com>
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_class_init), * sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_class_init),

View file

@ -35,6 +35,11 @@ GST_DEBUG_CATEGORY_EXTERN (hal_debug);
#define GST_CAT_DEFAULT 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: * gst_hal_get_alsa_element:
* @ctx: a #LibHalContext which should be used for querying HAL. * @ctx: a #LibHalContext which should be used for querying HAL.