Index: hostopts.h
--- hostopts.h.orig
+++ hostopts.h
@@ -274,9 +274,9 @@
 
 
 /*-------------------------------------------------------------------*/
-/* Hard-coded FreeBSD-specific features and options...               */
+/* Hard-coded FreeBSD-specific (or OpenBSD) features and options...  */
 /*-------------------------------------------------------------------*/
-#elif defined(__FreeBSD__)              /* "FreeBSD" options         */
+#elif defined(__FreeBSD__) || defined(__OpenBSD__) /* "*BSD" options */
 
 #define DLL_IMPORT   extern
 #define DLL_EXPORT
