From 048e429356fb5a8592c3f6607fd4e91c7a7a2cd3 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Sun, 21 Jun 2020 16:33:55 +0200 Subject: remove -Werror and add include for libdislocator --- GNUmakefile | 2 +- libdislocator/libdislocator.so.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index f1c5f99b..555fa9cf 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -96,7 +96,7 @@ endif CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT) override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\ - -I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \ + -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" ifeq "$(shell uname -s)" "FreeBSD" diff --git a/libdislocator/libdislocator.so.c b/libdislocator/libdislocator.so.c index 6b1cc848..73c3b3e3 100644 --- a/libdislocator/libdislocator.so.c +++ b/libdislocator/libdislocator.so.c @@ -40,6 +40,7 @@ #if defined(__linux__) && !defined(__ANDROID__) #include #include + #include #ifdef __NR_getrandom #define arc4random_buf(p, l) \ do { \ -- cgit 1.4.1