mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
Merge pull request #10506 from wjwithagen/wip-wjw-clock-realtime
FreeBSD: Define CLOCK_REALTIME_COARSE in compat.h
This commit is contained in:
commit
1f09557ffa
@ -59,6 +59,13 @@
|
||||
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(CLOCK_REALTIME_COARSE)
|
||||
#if defined(CLOCK_REALTIME_FAST)
|
||||
#define CLOCK_REALTIME_COARSE CLOCK_REALTIME_FAST
|
||||
#else
|
||||
#define CLOCK_REALTIME_COARSE CLOCK_REALTIME
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* And include the extra required include file */
|
||||
#include <pthread_np.h>
|
||||
|
@ -12,6 +12,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "include/compat.h"
|
||||
|
||||
#include "simple_dispatcher.h"
|
||||
#include "messages/MPing.h"
|
||||
#include "messages/MDataPing.h"
|
||||
|
Loading…
Reference in New Issue
Block a user