f056b879c2
depending on compiler.
17 lines
368 B
Text
17 lines
368 B
Text
$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>
|
|
|