From 5ea442d5b8d0b9101737c7c4b7ff7cb89a1f7821 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Thu, 12 Sep 2019 23:12:52 +0100 Subject: Make some older compilers happy by specifying -D_BSD_SOURCE and -std=gnu99. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dee20c7..4866dfc 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ CC=gcc blabouncer: blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c - $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c + $(CC) -D_DEFAULT_SOURCE -D_BSD_SOURCE -std=gnu99 -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.c functions.c sockets.c config.c replay.c logging.c message.c -- cgit v1.2.3