]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/doslib/himemsys.h
O SHIT I COMPILED IT ALL WWWW
[16.git] / src / lib / doslib / himemsys.h
similarity index 84%
rename from src/lib/doslib/hw/dos/himemsys.h
rename to src/lib/doslib/himemsys.h
index b2e9e6c32583a37fa61ad74ed148756804c57ad7..8053eacbf47161b5f54759e6502585b3666d0849 100644 (file)
@@ -8,8 +8,22 @@
  * <insert LGPL legal text here>
  */
 
+#ifndef __HW_DOS_XMM_H
+#define __HW_DOS_XMM_H
+
 #if !defined(TARGET_WINDOWS) && !defined(TARGET_OS2)
 
+#include <stdlib.h>
+#include <string.h>
+#include <stdint.h>
+#include <assert.h>
+#include <stdio.h>
+#include <conio.h>
+#include <dos.h>
+
+//#include "src/lib/doslib/cpu.h"
+#include "src/lib/doslib/dos.h"
+
 /* HMA memory is present */
 #define HIMEM_F_HMA            (1 << 0)
 /* HIMEM.SYS supports extended functions to address up to 4GB of RAM (surpassing the older API's 64MB limit) */
@@ -45,3 +59,4 @@ int himem_sys_free(int handle);
 
 #endif /* !defined(TARGET_WINDOWS) && !defined(TARGET_OS2) */
 
+#endif /* __HW_DOS_EMM_H */