Commit 123322c6 authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Thomas Haller
Browse files

core: fix build with toolchains not exporting CLOCK_BOOTTIME

E.G. uClibc 0.9.33 and earlier.

https://bugzilla.gnome.org/show_bug.cgi?id=734599

Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Haller's avatarThomas Haller <thaller@redhat.com>
parent 2bd5cf51
......@@ -44,6 +44,15 @@
#include "nm-manager-auth.h"
#include "nm-posix-signals.h"
/*
* Some toolchains (E.G. uClibc 0.9.33 and earlier) don't export
* CLOCK_BOOTTIME even though the kernel supports it, so provide a
* local definition
*/
#ifndef CLOCK_BOOTTIME
#define CLOCK_BOOTTIME 7
#endif
/*
* nm_ethernet_address_is_valid
*
......
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