Index: load.h
--- load.h.orig
+++ load.h
@@ -21,7 +21,7 @@ static inline char *strdup(const char *str)
 	return(newstr);
 }
 #endif
-#if defined(unix) || defined(__MACH__) || defined(__BEOS__)
+#if defined(unix) || defined(__MACH__) || defined(__BEOS__) || defined(__OpenBSD__)
 #include <unistd.h>
 #endif
 #endif /* WIN32 */
@@ -29,7 +29,7 @@ static inline char *strdup(const char *str)
 #include "SDL_FrameBuf.h"
 
 /* Pathing stuff for the different operating systems */
-#if defined(unix) || defined(__MACH__)
+#if defined(unix) || defined(__MACH__) || defined(__OpenBSD__)
 #define DIR_SEP	"/"
 #define CUR_DIR	"."
 #elif defined(WIN32)
@@ -106,7 +106,7 @@ class LibPath { (public)
 		if ( strcmp(directory, DIR_SEP) == 0 ) {
 			sprintf(path, DIR_SEP"%s", filename);
 		} else {
-			sprintf(path, "%s"DIR_SEP"%s", directory, filename);
+			sprintf(path, "%s" DIR_SEP "%s", directory, filename);
 		}
 		return(path);
 	}
