Index: lib-src/libnyquist/nyquist/cmt/cext.h
--- lib-src/libnyquist/nyquist/cmt/cext.h.orig
+++ lib-src/libnyquist/nyquist/cmt/cext.h
@@ -61,7 +61,7 @@ EXIT(n)  -- calls exit(n) after shutting down/dealloca
 #include <malloc.h>
 #endif
 
-#if NEED_ULONG
+#if NEED_ULONG || __OpenBSD__
 typedef unsigned long ulong;
 #endif
 
