gcc_plugin fix compile for USEMMAP

This commit is contained in:
hexcoder- 2020-04-08 08:14:42 +02:00 committed by van Hauser
parent bd9676aa04
commit c57fdbedaf
2 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,7 @@ MAN_PATH ?= $(PREFIX)/man/man8
VERSION = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2)
CFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2
override CFLAGS = -Wall -I../include -Wno-pointer-sign \
CFLAGS = -Wall -I../include -Wno-pointer-sign \
-DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \
-DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \
-Wno-unused-function

View File

@ -25,6 +25,9 @@
#include "../config.h"
#include "../types.h"
#ifdef USEMMAP
#include <stdio.h>
#endif
#include <stdlib.h>
#include <signal.h>
#include <unistd.h>