more build fixes

This commit is contained in:
Flyinghead 2020-01-20 13:49:29 +01:00
parent 81c7c37707
commit 31651c2ac6
1 changed files with 4 additions and 1 deletions

View File

@ -3,10 +3,13 @@
This is missing most of the functionality, but works for KOS (And thats all that uses it) This is missing most of the functionality, but works for KOS (And thats all that uses it)
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#ifndef _WIN32 #ifndef _WIN32
#include <unistd.h> #include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#else
#include <windows.h>
#endif #endif
#include "types.h" #include "types.h"
#include "hw/sh4/sh4_mmr.h" #include "hw/sh4/sh4_mmr.h"