]> git.tdb.fi Git - netmon.git/blobdiff - main.c
Request default POSIX features from system headers
[netmon.git] / 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>