summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-21 14:24:48 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-21 14:36:39 +0200
commit952bf9d754d021ee9c08f9add5c9af53aaaf39ae (patch)
tree59ce2155d157266b5ea05a052e820d54f60d3e80 /main.c
parent30a18cb4bfd8c9997e40d9cd9c8562a751d61ecf (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>
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index fb27665..11b33ff 100644
--- a/main.c
+++ b/main.c
@@ -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