summaryrefslogtreecommitdiff
path: root/bus/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/bus.c')
-rw-r--r--bus/bus.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 6b0dc088..f805e3fa 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -1320,7 +1320,12 @@ out:
va_end (args);
}
-static inline const char *
+/* TODO: move to autotools generated config.h like done in cmake */
+#ifndef DBUS_INLINE
+#define DBUS_INLINE inline
+#endif
+
+static DBUS_INLINE const char *
nonnull (const char *maybe_null,
const char *if_null)
{