test: add chrono.

This commit is contained in:
Leo Yuriev
2017-04-11 19:00:26 +03:00
parent 2a80ad67fb
commit 8b42b8bfd4
5 changed files with 174 additions and 0 deletions

View File

@@ -34,6 +34,12 @@
#include <string.h>
#include <time.h>
#if defined(_WIN32) || defined(_WIN64) || defined(_WINDOWS)
#else
#include <sys/param.h>
#include <sys/time.h>
#endif
#ifdef _BSD_SOURCE
#include <endian.h>
#endif