This email list is read-only. Emails sent to this list will be discarded ---------------------------------- configure.ac | 4 ++++ src/udev.c | 7 +++++++ 2 files changed, 11 insertions(+), 0 deletions(-)
New commits: commit 28be89368b487e1d524a1aec78c892e2dbc857ad Author: Marcel Holtmann <[email protected]> Date: Fri Jan 2 20:08:59 2009 +0100 Add check for udev_monitor_enable_receiving() function Diff in this email is a maximum of 400 lines. diff --git a/configure.ac b/configure.ac index 8b2abcd..564f7c0 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,10 @@ AC_ARG_ENABLE(udev, AC_HELP_STRING([--enable-udev], [enable udev support]), [enable_udev=${enableval}]) if (test "${enable_udev}" = "yes"); then AC_DEFINE(HAVE_UDEV, 1, [Define if udev support is available]) + AC_CHECK_LIB(udev, udev_monitor_enable_receiving, dummy=yes, + AC_DEFINE(NEED_UDEV_MONITOR_ENABLE_RECEIVING, 1, + [Define to 1 if you need the + udev_monitor_enable_receiving() function.])) AC_CHECK_LIB(udev, udev_monitor_receive_device, dummy=yes, AC_DEFINE(NEED_UDEV_MONITOR_RECEIVE_DEVICE, 1, [Define to 1 if you need the diff --git a/src/udev.c b/src/udev.c index a14ce93..5c90112 100644 --- a/src/udev.c +++ b/src/udev.c @@ -33,6 +33,13 @@ #include "connman.h" +#ifdef NEED_UDEV_MONITOR_ENABLE_RECEIVING +static int udev_monitor_enable_receiving(struct udev_monitor *monitor) +{ + return 0; +} +#endif + #ifdef NEED_UDEV_MONITOR_RECEIVE_DEVICE static struct udev_device *udev_monitor_receive_device(struct udev_monitor *monitor); { _______________________________________________ Commits mailing list [email protected] https://lists.moblin.org/mailman/listinfo/commits
