diff --git a/src/microhttpd/mhd_sockets.h b/src/microhttpd/mhd_sockets.h index 9ff2e372..d09cc522 100644 --- a/src/microhttpd/mhd_sockets.h +++ b/src/microhttpd/mhd_sockets.h @@ -205,7 +205,8 @@ typedef SOCKET MHD_socket; #endif #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ - defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) + defined(MHD_WINSOCK_SOCKETS) || defined(__MACH__) || defined(__sun) || \ + defined(SOMEBSD) /* Most of OSes inherit nonblocking setting from the listen socket */ #define MHD_ACCEPT_INHERIT_NONBLOCK 1 #endif