Skip to content

Commit d730014

Browse files
committed
Fix build with musl on alpine.
strdup() and reapath() prototypes were missing
1 parent 609496f commit d730014

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mod_notionflux/notionflux/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ SOURCES=notionflux.c
1313

1414
TARGETS=notionflux
1515

16+
CFLAGS += $(POSIX_SOURCE)
17+
CFLAGS += $(XOPEN_SOURCE)
1618
CFLAGS += $(C99_SOURCE)
1719

1820
INCLUDES += $(X11_INCLUDES) $(LUA_INCLUDES) $(READLINE_INCLUDES) -I$(TOPDIR)

0 commit comments

Comments
 (0)