--- libparserutils-0.2.0/Makefile +++ libparserutils-0.2.0/Makefile @@ -15,12 +15,8 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -pedantic -# BeOS/Haiku standard library headers create warnings. -ifneq ($(TARGET),beos) - WARNFLAGS := $(WARNFLAGS) -Werror -endif -CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ +CFLAGS := -D_DEFAULT_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) CFLAGS := $(CFLAGS) -std=c99