summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 877dc55..a5ec278 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,15 @@ INSTALL ?= install
DESTDIR ?=
PREFIX ?= /usr
-LOCAL_CPPFLAGS := -D_DEFAULT_SOURCE -D_GNU_SOURCE -DBFS_VERSION=\"$(VERSION)\"
+LOCAL_CPPFLAGS := \
+ -D_POSIX_C_SOURCE=200809L \
+ -D_DEFAULT_SOURCE \
+ -D_BSD_SOURCE \
+ -D_GNU_SOURCE \
+ -D_ATFILE_SOURCE \
+ -D__EXTENSIONS__ \
+ -DBFS_VERSION=\"$(VERSION)\"
+
LOCAL_CFLAGS := -std=c99
ALL_CPPFLAGS = $(LOCAL_CPPFLAGS) $(CPPFLAGS)