98c464071f
A lightweight C++11 Distributed Hash Table implementation originally based on https://github.com/jech/dht by Juliusz Chroboczek. * Light and fast C++11 Kademlia DHT library. * Distributed shared key->value data-store * Clean and powerfull distributed map API with storage of arbitrary binary values of up to 56 KB. * Optional public key cryptography layer providing data signature and encryption (using GnuTLS). * IPv4 and IPv6 support. * Python binding. WWW: https://github.com/savoirfairelinux/opendht/ PR: 209476 Submitted by: Yuri Victorovich <yuri@rawbw.com>
14 lines
279 B
C
14 lines
279 B
C
--- include/opendht/value.h.orig 2016-05-13 00:23:45 UTC
|
|
+++ include/opendht/value.h
|
|
@@ -26,6 +26,11 @@
|
|
|
|
#include <msgpack.hpp>
|
|
|
|
+#if defined(__FreeBSD__)
|
|
+#include <sys/socket.h>
|
|
+#include <netinet/in.h>
|
|
+#endif
|
|
+
|
|
#ifndef _WIN32
|
|
#include <netinet/in.h>
|
|
#include <netdb.h>
|