pkgsrc/games/ccgo/patches/patch-ac
2014-09-25 13:47:59 +00:00

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>