$OpenBSD$

Index: include/yalecad/base.h
--- include/yalecad/base.h.orig
+++ include/yalecad/base.h
@@ -54,7 +54,7 @@ static char Ybase_HId[] = "@(#) base.h version 1.34 3/
 #ifndef STDIO_H
 #define STDIO_H
 #include <stdio.h> 
-#ifdef linux
+#if defined(linux) || defined(__OpenBSD__)
 #include <stdlib.h>	/* needed for atof() */
 #endif
 #endif
@@ -128,7 +128,7 @@ typedef long SHORT_LONG ;
 
 #include <yalecad/mac.h>
 
-#elif defined(linux) || defined(ultrix)
+#elif defined(linux) || defined(ultrix) || defined(__OpenBSD__)
 
 #ifndef	_LIMITS_H_
 #include <limits.h>
