$NetBSD: patch-ab,v 1.1 2009/06/05 09:49:53 hasso Exp $

--- lib/arch/CArchNetworkBSD.cpp.orig	2011-11-22 19:34:07.000000000 +0000
+++ lib/arch/CArchNetworkBSD.cpp
@@ -28,6 +28,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
 
 #if HAVE_POLL
 #	include <poll.h>
