From d985965639d23c8cb51c58bc71f2a832111b70a9 Mon Sep 17 00:00:00 2001 From: Decaf Code Date: Fri, 23 Nov 2018 13:46:49 -0500 Subject: [PATCH] Fix non-PCH build --- hook/iobuf.h | 2 ++ hook/iohook.c | 6 ++++++ hooklib/serial.c | 2 ++ hooklib/uart.c | 1 + hooklib/uart.h | 1 + inject/debug.c | 1 + inject/options.h | 2 ++ 7 files changed, 15 insertions(+) diff --git a/hook/iobuf.h b/hook/iobuf.h index 0ffcfaa..0a78ea5 100644 --- a/hook/iobuf.h +++ b/hook/iobuf.h @@ -1,5 +1,7 @@ #pragma once +#include + #include #include diff --git a/hook/iohook.c b/hook/iohook.c index 0adcc41..446b12a 100644 --- a/hook/iohook.c +++ b/hook/iohook.c @@ -1,4 +1,10 @@ +#define WIN32_NO_STATUS #include +#undef WIN32_NO_STATUS +#include + +#include +#include #include #include diff --git a/hooklib/serial.c b/hooklib/serial.c index b802d32..d260bce 100644 --- a/hooklib/serial.c +++ b/hooklib/serial.c @@ -4,6 +4,8 @@ #include #include +#include +#include #include #include "hook/hr.h" diff --git a/hooklib/uart.c b/hooklib/uart.c index bb0f23e..59e1570 100644 --- a/hooklib/uart.c +++ b/hooklib/uart.c @@ -1,6 +1,7 @@ #include #include +#include #include #include diff --git a/hooklib/uart.h b/hooklib/uart.h index 2790bac..1aab138 100644 --- a/hooklib/uart.h +++ b/hooklib/uart.h @@ -3,6 +3,7 @@ #include #include +#include #include #include diff --git a/inject/debug.c b/inject/debug.c index 3cb0e93..404c975 100644 --- a/inject/debug.c +++ b/inject/debug.c @@ -1,5 +1,6 @@ #include +#include #include #include #include diff --git a/inject/options.h b/inject/options.h index d6c17b7..6f34feb 100644 --- a/inject/options.h +++ b/inject/options.h @@ -1,5 +1,7 @@ #pragma once +#include + #include #include