mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
issue#403
Disable including `sys/time.h` on ARM to prevent conflicting declarations of `gettimeofday()`.
This commit is contained in:
committed by
Michael Sullivan
parent
be4e373e63
commit
5c63238544
@@ -76,6 +76,9 @@
|
||||
/* pthread-handling contributed by David North, TDI in version 0.7 */
|
||||
#if defined PTHREAD_SINGLETHREADED_TIME || defined FAKE_PTHREAD
|
||||
#include <pthread.h>
|
||||
#ifdef __aarch64__
|
||||
#define _SYS_TIME_H 1
|
||||
#endif
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user