mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-11 01:31:37 +00:00
build fixes for FreeBSD 11
This commit is contained in:
parent
ce49ba428b
commit
b6209b3732
1
Makefile
1
Makefile
@ -109,6 +109,7 @@ endif
|
||||
|
||||
ifneq "$(findstring FreeBSD, $(shell uname))" ""
|
||||
CFLAGS += -pthread
|
||||
LDFLAGS += -lpthread
|
||||
endif
|
||||
|
||||
ifneq "$(findstring NetBSD, $(shell uname))" ""
|
||||
|
@ -64,7 +64,7 @@
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
|
||||
#if __STDC_VERSION__ < 201112L
|
||||
#if __STDC_VERSION__ < 201112L || defined __FreeBSD__
|
||||
// use this hack if not C11
|
||||
typedef struct {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user