From 9b35efabdc4369d601e709e127d4dcc3558dcaa8 Mon Sep 17 00:00:00 2001 From: Zebreus Date: Mon, 3 Jun 2024 16:20:20 +0200 Subject: [PATCH] Fix darwin build --- Makefile | 2 +- main.c | 4 +++- network.c | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 32e472b..4ab7ff6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CC=gcc +CC?=gcc CCFLAGS=-Ofast -Wall -march=native RM=rm -f diff --git a/main.c b/main.c index 392a5c7..04979cc 100644 --- a/main.c +++ b/main.c @@ -14,7 +14,9 @@ #include #include #include -#include +#include +#include +#include #include #include "main.h" diff --git a/network.c b/network.c index 3182ea5..1b06051 100644 --- a/network.c +++ b/network.c @@ -14,7 +14,9 @@ #include #include #include -#include +#include +#include +#include #include #include