Merge pull request #2904 from krytarowski/netbsd-support-5
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 17 Apr 2016 11:36:33 +0000 (13:36 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 17 Apr 2016 11:36:33 +0000 (13:36 +0200)
Include <errno.h> for errno on NetBSD

mono/utils/mono-proclib.c

index 479655189b519be4c51a7b7c274679e8111970f5..7a4a02e39a3f7fea5ca4a441251215d75d406bf8 100644 (file)
@@ -27,6 +27,7 @@
 #if defined(_POSIX_VERSION)
 #include <sys/errno.h>
 #include <sys/param.h>
+#include <errno.h>
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif