\brief portable time functions
*/
-#include <KM_tai.h>
+#include <asdcp/KM_tai.h>
+#ifdef KM_WIN32
+#include <time.h>
+#else
#include <sys/time.h>
+#endif
//
void
ct.hour = st.wHour;
ct.minute = st.wMinute;
ct.second = st.wSecond;
+ ct.offset = 0;
caltime_tai(&ct, this);
#else
struct timeval now;