summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2012-08-08 14:10:31 +0200
committerOndrej Filip <feela@network.cz>2012-08-08 14:10:31 +0200
commitd760229ab897fa1bf1fd0fe7019cc2431d21a1cc (patch)
tree69efa9533da5f0208c2b21b3f89608c5aa9b3490
parent60c412b9368fd7c3b0a8df2200f02140adcb0cf3 (diff)
DragonFly support add - thanks to john@marino.st
-rw-r--r--configure.in4
-rw-r--r--sysdep/bsd/sysio.h3
2 files changed, 7 insertions, 0 deletions
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