fix build after network header cleanup

This commit is contained in:
naddy 2012-09-16 13:17:42 +00:00
parent eecc83d003
commit aa87e4b971

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_lib_oogl_refcomm_streampool_c,v 1.1 2012/09/16 13:17:42 naddy Exp $
--- src/lib/oogl/refcomm/streampool.c.orig Sun Sep 16 14:43:26 2012
+++ src/lib/oogl/refcomm/streampool.c Sun Sep 16 14:43:39 2012
@@ -35,7 +35,7 @@
#include "handleP.h" /* Includes stdio.h, etc. too */
#include "freelist.h"
-#if defined(unix) || defined(__unix)
+#if defined(unix) || defined(__unix) || defined(__unix__)
# include <unistd.h>
# include <sys/socket.h>
# include <sys/un.h>