diff --git a/Makefile b/Makefile index 229181372522d..0dd15eb9fb472 100644 --- a/Makefile +++ b/Makefile @@ -597,8 +597,9 @@ ifeq ($(NATIVE), osx) endif endif ifeq ($(LOCALIZE), 1) - ifeq ($(MACPORTS), 1) - ifneq ($(TILES), 1) + ifneq ($(TILES), 1) + CXXFLAGS += -D_XOPEN_SOURCE_EXTENDED + ifeq ($(MACPORTS), 1) CXXFLAGS += -I$(shell ncursesw6-config --includedir) LDFLAGS += -L$(shell ncursesw6-config --libdir) endif