blob: 797f538f9254693aa0df726c1400bb881366b14d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.2 2014/09/25 13:47:59 jperkin Exp $
--- igs/sock.cc.orig 2004-09-24 02:12:22.000000000 +0000
+++ igs/sock.cc
@@ -14,8 +14,12 @@ extern "C" {
#include <sys/fcntl.h>
#include <sys/wait.h>
#include <sys/socket.h>
+#ifdef __sun
+#include <fcntl.h>
+#endif
#include <unistd.h>
#include <netdb.h>
+#include <netinet/in.h>
}
#include <cerrno>
|