#include <windows.h>
#include <BaseTsd.h>
#include <io.h>
+#include <inttypes.h>
#pragma comment(lib, "advapi32")
typedef int pid_t;
+char *strsep(char **stringp, const char *delim);
+
+#define srandom srand
+#define random rand
+
#endif /* windefs.h */