From 4871fb3626e2b61fb60d35ffbbf5094b223b6833 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 18 Jun 2018 05:16:00 +0300 Subject: [PATCH] Addition to prev. revision #2520 --- dbms/src/IO/AIO.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbms/src/IO/AIO.h b/dbms/src/IO/AIO.h index 7ed767b1c7f..150d5d107b2 100644 --- a/dbms/src/IO/AIO.h +++ b/dbms/src/IO/AIO.h @@ -5,9 +5,11 @@ /// https://stackoverflow.com/questions/20759750/resolving-redefinition-of-timespec-in-time-h #define timespec linux_timespec #define timeval linux_timeval +#define itimerspec linux_itimerspec #include #undef timespec #undef timeval +#undef itimerspec /** Small wrappers for asynchronous I/O.