summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-12 23:12:52 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-12 23:12:52 +0100
commit5ea442d5b8d0b9101737c7c4b7ff7cb89a1f7821 (patch)
treeea2cd7766ff0ba9170cd09909b7a1a6b73916d88 /Makefile
parent5d0ea0d04b694ab1e5e83009bcb8a493e1f9a341 (diff)
Make some older compilers happy by specifying -D_BSD_SOURCE and -std=gnu99.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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