diff options
Diffstat (limited to 'src/xtime.c')
-rw-r--r-- | src/xtime.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xtime.c b/src/xtime.c index df8fd61..4828119 100644 --- a/src/xtime.c +++ b/src/xtime.c @@ -5,7 +5,6 @@ #include "xtime.h" #include "bfstd.h" #include "diag.h" -#include "sanity.h" #include <errno.h> #include <limits.h> #include <sys/time.h> @@ -36,7 +35,7 @@ int xmktime(struct tm *tm, time_t *timep) { } // FreeBSD is missing an interceptor -#if BFS_HAS_TIMEGM && !(__FreeBSD__ && SANITIZE_MEMORY) +#if BFS_HAS_TIMEGM && !(__FreeBSD__ && __SANITIZE_MEMORY__) int xtimegm(struct tm *tm, time_t *timep) { time_t time = timegm(tm); |