]> git.tdb.fi Git - netmon.git/commitdiff
Request default POSIX features from system headers master
authorMikko Rasa <tdb@tdb.fi>
Tue, 12 Jul 2016 11:30:25 +0000 (14:30 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 12 Jul 2016 11:30:25 +0000 (14:30 +0300)
main.c

diff --git a/main.c b/main.c
index dbc1619de9dd8b15f9698657fc420a821619c0b7..e22dbbe2f3c1670da6095938ba4a254e32f682fc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -4,6 +4,7 @@ Copyright © 2008-2016 Mikko Rasa, Mikkosoft Productions
 Distributed under the GPL
 */
 
+#define _DEFAULT_SOURCE
 #include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>