From ab03806b50c1417f11704b9a728d16798f2c855c Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 26 Oct 2020 01:10:22 +0000 Subject: [PATCH] Fix headers. --- .idea/modules.xml | 5 +++++ hex2bin.c | 2 +- main.c | 2 ++ unix/hello.c | 7 ++++++- worker.c | 2 ++ 5 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.idea/modules.xml b/.idea/modules.xml index d321f88..1577b1d 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -20,4 +20,9 @@ + + + + + \ No newline at end of file diff --git a/hex2bin.c b/hex2bin.c index 059f09a..2f366dc 100644 --- a/hex2bin.c +++ b/hex2bin.c @@ -15,7 +15,7 @@ * along with this program. If not, see . */ -#include +#include #include #include diff --git a/main.c b/main.c index 074ef2a..e56c94b 100644 --- a/main.c +++ b/main.c @@ -22,6 +22,8 @@ #include #include "win32/win32.h" +#else +#include #endif #include "aaruremote.h" diff --git a/unix/hello.c b/unix/hello.c index 5af1369..8827a4e 100644 --- a/unix/hello.c +++ b/unix/hello.c @@ -15,11 +15,16 @@ * along with this program. If not, see . */ -#include +#include #include #include +#ifndef _WIN32 +#include +#endif + #include "../aaruremote.h" +#include "../endian.h" AaruPacketHello* GetHello() { diff --git a/worker.c b/worker.c index eb44797..e351f2d 100644 --- a/worker.c +++ b/worker.c @@ -26,6 +26,8 @@ #include #include "win32/win32.h" +#else +#include #endif #include "aaruremote.h"