diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-08-21 14:24:48 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-08-21 14:36:39 +0200 |
commit | 952bf9d754d021ee9c08f9add5c9af53aaaf39ae (patch) | |
tree | 59ce2155d157266b5ea05a052e820d54f60d3e80 | |
parent | 30a18cb4bfd8c9997e40d9cd9c8562a751d61ecf (diff) |
build: use _DEFAULT_SOURCE
Add _DEFAULT_SOURCE FTM in order to avoid warnings with recent glibc.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | file.c | 1 | ||||
-rw-r--r-- | main.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _DEFAULT_SOURCE #define _BSD_SOURCE #define _DARWIN_C_SOURCE #define _XOPEN_SOURCE 700 @@ -17,6 +17,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define _DEFAULT_SOURCE #define _BSD_SOURCE #define _GNU_SOURCE #define _XOPEN_SOURCE 700 |