#include <sys/stat.h>
#ifndef __MINGW32__
#include <sys/ioctl.h>
#include <time.h>
#include <sys/wait.h>
#endif
#include <fcntl.h>