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:
Jonathan Marten 2020-11-05 19:46:23 +00:00
parent 37ba0404c8
commit 6d7e8fc8a5

View file

@ -11,6 +11,7 @@
#include <fcntl.h>
#include <sys/timerfd.h>
#include <unistd.h>
#include <cerrno>
#ifndef TFD_TIMER_CANCEL_ON_SET // only available in newer glib
#define TFD_TIMER_CANCEL_ON_SET (1 << 1)