summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_dalist.h14
-rw-r--r--include/ntapi/nt_ldr.h2
-rw-r--r--include/ntapi/nt_pe.h14
-rw-r--r--include/ntapi/nt_process.h2
4 files changed, 30 insertions, 2 deletions
diff --git a/include/ntapi/nt_dalist.h b/include/ntapi/nt_dalist.h
new file mode 100644
index 0000000..ad6bf5b
--- /dev/null
+++ b/include/ntapi/nt_dalist.h
@@ -0,0 +1,14 @@
+#ifndef _NT_DALIST_H_
+#define _NT_DALIST_H_
+
+#ifdef _MIDIPIX_FREESTANDING
+
+#include <dalist/dalist.h>
+
+#else
+
+#include "dalist.h"
+
+#endif
+
+#endif
diff --git a/include/ntapi/nt_ldr.h b/include/ntapi/nt_ldr.h
index daabc11..b438b34 100644
--- a/include/ntapi/nt_ldr.h
+++ b/include/ntapi/nt_ldr.h
@@ -1,8 +1,8 @@
#ifndef _NT_LDR_H_
#define _NT_LDR_H_
-#include <dalist/dalist.h>
#include "nt_abi.h"
+#include "nt_dalist.h"
#include "nt_object.h"
typedef int32_t __stdcall ntapi_ldr_load_dll(
diff --git a/include/ntapi/nt_pe.h b/include/ntapi/nt_pe.h
new file mode 100644
index 0000000..f7cc3d1
--- /dev/null
+++ b/include/ntapi/nt_pe.h
@@ -0,0 +1,14 @@
+#ifndef _NT_PE_H_
+#define _NT_PE_H_
+
+#ifdef _MIDIPIX_FREESTANDING
+
+#include <pemagine/pemagine.h>
+
+#else
+
+#include "pemagine.h"
+
+#endif
+
+#endif
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h
index 44b237a..8ffd1b6 100644
--- a/include/ntapi/nt_process.h
+++ b/include/ntapi/nt_process.h
@@ -1,8 +1,8 @@
#ifndef _NT_PROCESS_H_
#define _NT_PROCESS_H_
-#include <pemagine/pemagine.h>
#include "nt_abi.h"
+#include "nt_pe.h"
#include "nt_compiler.h"
#include "nt_object.h"
#include "nt_memory.h"