$NetBSD: patch-ac,v 1.1 2006/01/08 18:13:08 joerg Exp $ --- include/sm/os/sm_os_freebsd.h.orig 2006-01-08 18:09:08.000000000 +0000 +++ include/sm/os/sm_os_freebsd.h @@ -13,10 +13,18 @@ ** Platform definitions for FreeBSD */ -#define SM_OS_NAME "freebsd" - #define SM_CONF_SYS_CDEFS_H 1 +#ifdef __DragonFly__) +#define SM_OS_NAME "dragonfly" +#define MI_SOMAXCONN -1 +#ifndef SM_CONF_STRL +# define SM_CONF_STRL 1 +#endif + +#else +#define SM_OS_NAME "freebsd" + #if __FreeBSD__ >= 2 # include /* defines __FreeBSD_version */ # if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */ @@ -29,6 +37,7 @@ # endif # endif #endif +#endif #ifndef SM_CONF_SHM # define SM_CONF_SHM 1