]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Add missing errno.h include. 178/head
authorKacper Michajłow <kasper93@gmail.com>
Wed, 4 Jan 2017 16:53:18 +0000 (17:53 +0100)
committerKacper Michajłow <kasper93@gmail.com>
Wed, 4 Jan 2017 16:53:22 +0000 (17:53 +0100)
This fixes compilation with Clang on Cygwin.

packet/command_cygwin.c
packet/probe_cygwin.c

index 4f477eb972e8c17cfee660ee37a7455e9df0785e..7b32eb3511f52843a469a641ca0a1ddb63649404 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "command.h"
 
+#include <errno.h>
 #include <io.h>
 #include <stdio.h>
 
index 32127fd020d31fc3de766abef25805e1540e4019..ae1b2ccef073cc6b61c3c8c584132644e0c5742a 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "probe.h"
 
+#include <errno.h>
 #include <stdio.h>
 #include <winternl.h>