diff --git a/dbms/src/IO/AIO.h b/dbms/src/IO/AIO.h index 1cb55ad1f96..7ed767b1c7f 100644 --- a/dbms/src/IO/AIO.h +++ b/dbms/src/IO/AIO.h @@ -4,8 +4,10 @@ /// https://stackoverflow.com/questions/20759750/resolving-redefinition-of-timespec-in-time-h #define timespec linux_timespec +#define timeval linux_timeval #include #undef timespec +#undef timeval /** Small wrappers for asynchronous I/O.