--- 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>
