From d760229ab897fa1bf1fd0fe7019cc2431d21a1cc Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 8 Aug 2012 14:10:31 +0200 Subject: [PATCH] DragonFly support add - thanks to john@marino.st --- configure.in | 4 ++++ sysdep/bsd/sysio.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/configure.in b/configure.in index dd57ab51..54993dfc 100644 --- a/configure.in +++ b/configure.in @@ -142,6 +142,10 @@ else ;; ipv4:freebsd*) sysdesc=bsd ;; + ipv6:dragonfly*) sysdesc=bsd-v6 + ;; + ipv4:dragonfly*) sysdesc=bsd + ;; ipv6:kfreebsd*) sysdesc=bsd-v6 ;; ipv4:kfreebsd*) sysdesc=bsd diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h index f0b5f401..4f91def5 100644 --- a/sysdep/bsd/sysio.h +++ b/sysdep/bsd/sysio.h @@ -6,6 +6,9 @@ * Can be freely distributed and used under the terms of the GNU GPL. */ +#ifdef __DragonFly__ +#define TCP_MD5SIG TCP_SIGNATURE_ENABLE +#endif #ifdef IPV6 static inline void