$OpenBSD: patch-src_plugin_c,v 1.1 2010/10/24 19:10:15 jakemsr Exp $ --- src/plugin.c.orig Sun Oct 24 10:10:50 2010 +++ src/plugin.c Sun Oct 24 10:12:18 2010 @@ -43,7 +43,7 @@ #include "plugin.h" -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__OpenBSD__) #define dirent64 dirent #define scandir64 scandir #define alphasort64 alphasort