summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-02 20:08:59 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-02 20:08:59 +0100
commit28be89368b487e1d524a1aec78c892e2dbc857ad (patch)
tree9a91840935b8e8c65732b523295b6f071c397b77 /src
parent7c00f5fc19e3fbc03e62a8f1a6edb6068afbaa06 (diff)
downloadconnman-28be89368b487e1d524a1aec78c892e2dbc857ad.tar.gz
connman-28be89368b487e1d524a1aec78c892e2dbc857ad.tar.bz2
connman-28be89368b487e1d524a1aec78c892e2dbc857ad.zip
Add check for udev_monitor_enable_receiving() function
Diffstat (limited to 'src')
-rw-r--r--src/udev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/udev.c b/src/udev.c
index a14ce93b..5c90112c 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);
{