mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
systemd: fix build with toolchains not exporting CLOCK_BOOTTIME
See 123322c6d6 for the NM-side fix. We
need this too for the systemd code.
This commit is contained in:
parent
c428935d9f
commit
e47eca8761
1 changed files with 9 additions and 0 deletions
|
|
@ -100,6 +100,15 @@ G_STMT_START { \
|
|||
|
||||
#define noreturn G_GNUC_NORETURN
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
#include "sd-id128.h"
|
||||
#include "sparse-endian.h"
|
||||
#include "async.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue