time.c: Windows does not have `unistd.h`.

parent 5e95f117
......@@ -21,7 +21,9 @@
#endif
#include <stdlib.h>
#ifdef _WIN32
#include <unistd.h>
#endif
#define NDIV(x,y) (-(-((x)+1)/(y))-1)
#define TO_S_FMT "%Y-%m-%d %H:%M:%S "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment