--- src/guNet.cxx.orig	Wed Jan 30 21:55:06 2002
+++ src/guNet.cxx	Sun Nov  9 12:23:11 2008
@@ -39,6 +39,9 @@
 #define SHUT_RDWR 2
 #endif
 
+#ifdef __OpenBSD__
+#include <errno.h>
+#endif
 
 guUDPConnection::guUDPConnection ()
 {
