$OpenBSD: patch-lib-src_libnyquist_cmt_cext_h,v 1.3 2007/06/06 09:35:18 ajacoutot Exp $
--- lib-src/libnyquist/cmt/cext.h.orig	Wed Mar 28 09:15:06 2007
+++ lib-src/libnyquist/cmt/cext.h	Wed Mar 28 09:15:26 2007
@@ -54,6 +54,8 @@ EXIT(n)  -- calls exit(n) after shutting down/dealloca
 #include <sys/types.h>
 #endif
 
+#include <unistd.h>
+
 #if HAS_MALLOC_H
 #include <malloc.h>
 #endif
