Commit 57db3016 authored by Simon McVittie's avatar Simon McVittie

Fix Werror=unused-function if build without X11

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65712Signed-off-by: 's avatarChengwei Yang <chengwei.yang@intel.com>
Reviewed-by: 's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 1a69f641
......@@ -105,6 +105,7 @@ save_machine_uuid (const char *uuid_arg)
machine_uuid = xstrdup (uuid_arg);
}
#ifdef DBUS_BUILD_X11
#define UUID_MAXLEN 40
/* Read the machine uuid from file if needed. Returns TRUE if machine_uuid is
* set after this function */
......@@ -146,7 +147,7 @@ out:
fclose(f);
return ret;
}
#endif /* DBUS_BUILD_X11 */
void
verbose (const char *format,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment