X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ftime.h;h=c8d5859ff9ef22ea8b48c5d3429752342ed89120;hp=f51075dc39c3e35a3ebd13ad0fc9b61b0bb2a7e4;hb=395d6b02dda3db1acd08936f49c1dc8efc48e613;hpb=722a6d4500aec66b02ff51863a7d6eeec796edde diff --git a/src/common/compat/time.h b/src/common/compat/time.h index f51075dc3..c8d5859ff 100644 --- a/src/common/compat/time.h +++ b/src/common/compat/time.h @@ -32,6 +32,10 @@ typedef int clockid_t; #include #include +#undef NSEC_PER_SEC +#undef NSEC_PER_MSEC +#undef NSEC_PER_USEC + #define CLOCK_REALTIME CALENDAR_CLOCK #define CLOCK_MONOTONIC SYSTEM_CLOCK