X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FKM_tai.cpp;h=16fd5d3a24db334d7f7998a502baaa76ceff6fc2;hb=refs%2Fheads%2Fcarl-2;hp=4cc6c32b0a1e3ba2bbd20d422a226f53f709d27a;hpb=1a5727137f5b5ff8aecd3ec5a162c198c8c0a5e7;p=asdcplib.git diff --git a/src/KM_tai.cpp b/src/KM_tai.cpp index 4cc6c32..16fd5d3 100644 --- a/src/KM_tai.cpp +++ b/src/KM_tai.cpp @@ -48,8 +48,12 @@ The libtai source code is in the public domain. \brief portable time functions */ -#include +#include +#ifdef KM_WIN32 +#include +#else #include +#endif // void @@ -186,6 +190,7 @@ Kumu::TAI::tai::now() ct.hour = st.wHour; ct.minute = st.wMinute; ct.second = st.wSecond; + ct.offset = 0; caltime_tai(&ct, this); #else struct timeval now;