From 79795e3a7aca6fc33b40f264c412753acbb4bdf9 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Wed, 4 Aug 2021 18:17:16 +0100 Subject: Squash deprecation warning with modern glibc --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 824b3b2..23f312f 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,8 @@ include $(NSSHARED)/makefiles/Makefile.tools WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Werror #-pedantic -CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE \ +CFLAGS := $(CFLAGS) -std=c99 \ + -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE \ -I$(CURDIR)/include/ -I$(CURDIR)/src $(WARNFLAGS) -Dasm="__asm" # Freetype2 -- cgit v1.2.3