$OpenBSD$ --- source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c.orig Sun Apr 10 15:41:33 2011 +++ source/shared_lib/sources/feathery_ftp/ftpTargetPosix.c Sun Apr 10 15:42:54 2011 @@ -27,7 +27,11 @@ #include #include -#if defined(__FreeBSD__) +#ifndef MSG_NOSIGNAL +#define MSG_NOSIGNAL 0 +#endif + +#if defined(__FreeBSD__) || defined(__OpenBSD__) #include #else #include