Fix for Clang: clockskewnotifierengine_linux.cpp needs <cerrno>
GCC doesn't seem to mind, but Clang complains that 'errno' is not defined.
This commit is contained in:
parent
37ba0404c8
commit
6d7e8fc8a5
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/timerfd.h>
|
#include <sys/timerfd.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <cerrno>
|
||||||
|
|
||||||
#ifndef TFD_TIMER_CANCEL_ON_SET // only available in newer glib
|
#ifndef TFD_TIMER_CANCEL_ON_SET // only available in newer glib
|
||||||
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
|
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)
|
||||||
|
|
Loading…
Reference in a new issue