summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index caa293d..28c469f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=gcc
DEPS = functions.h sockets.h config.h replay.h logging.h structures.h message.h
%.o: %.c $(DEPS)
- $(CC) -Wall -Wextra -c -o $@ $<
+ $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -c -o $@ $<
blabouncer: blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o
- $(CC) -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o
+ $(CC) -D_DEFAULT_SOURCE -Wall -Wextra -lssl -lcrypto -o blabouncer blabouncer.o functions.o sockets.o config.o replay.o logging.o message.o