diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-12-17 00:07:40 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-12-17 00:07:40 -0500 |
commit | 8f598c3a7fcf4d3750690b6d913530fbe76890bd (patch) | |
tree | d03790265ebfbb00faaf1f44b9a005c50af710a0 | |
parent | c218fea5eeff80e11e9b71c29f9cbbcc945019e5 (diff) | |
download | bfs-8f598c3a7fcf4d3750690b6d913530fbe76890bd.tar.xz |
Fix the build on macOS
macOS hides st_[acm]timespec if _POSIX_C_SOURCE is defined, unless
_DARWIN_C_SOURCE is too.
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |