diff --git a/Makefile b/Makefile index 8dc0ecc..71d451a 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ MAKEFILE_PATH := $(patsubst %/,%,$(dir $(abspath $(firstword $(MAKEFILE_LIST)))) DEBUG = -g -CSTD += -std=gnu23 -CXXSTD += -std=gnu++23 +CSTD += -std=gnu11 +CXXSTD += -std=gnu++14 CFLAGS += -Wall -Werror -Wfatal-errors CFLAGS += -Wno-error=unused-function diff --git a/include/state.h b/include/state.h index 25ed4d5..4fefff6 100644 --- a/include/state.h +++ b/include/state.h @@ -1,6 +1,7 @@ #pragma once #include +#include #ifdef __cplusplus extern "C" { diff --git a/src/unparse.c b/src/unparse.c index 8b046a4..d3b89db 100644 --- a/src/unparse.c +++ b/src/unparse.c @@ -1,4 +1,5 @@ #include +#include #include "unparse.h"