pkgsrc/net/mtr/patches/patch-net.c
2013-08-09 11:41:20 +00:00

15 lines
304 B
C

$NetBSD: patch-net.c,v 1.1 2013/08/09 11:41:20 fhajny Exp $
Fix build on SunOS.
--- net.c.orig 2013-04-29 18:22:05.000000000 +0000
+++ net.c
@@ -38,6 +38,9 @@
#include <math.h>
#include <errno.h>
#include <string.h>
+#ifdef __sun
+#include <sys/filio.h>
+#endif
#include "mtr.h"
#include "net.h"