From 8f598c3a7fcf4d3750690b6d913530fbe76890bd Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@tavianator.com>
Date: Sat, 17 Dec 2016 00:07:40 -0500
Subject: Fix the build on macOS

macOS hides st_[acm]timespec if _POSIX_C_SOURCE is defined, unless
_DARWIN_C_SOURCE is too.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index a5ec278..472d495 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ LOCAL_CPPFLAGS := \
     -D_GNU_SOURCE \
     -D_ATFILE_SOURCE \
     -D__EXTENSIONS__ \
+    -D_DARWIN_C_SOURCE \
     -DBFS_VERSION=\"$(VERSION)\"
 
 LOCAL_CFLAGS := -std=c99
-- 
cgit v1.2.3