diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/connman.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h index 5dafe767..25f50858 100644 --- a/src/connman.h +++ b/src/connman.h @@ -116,8 +116,19 @@ static inline void __connman_element_unlock(struct connman_element *element) int __connman_detect_init(void); void __connman_detect_cleanup(void); +#ifdef HAVE_UDEV int __connman_udev_init(void); void __connman_udev_cleanup(void); +#else +static inline int __connman_udev_init(void) +{ + return 0; +} + +static inline void __connman_udev_cleanup(void) +{ +} +#endif #include <connman/device.h> |