summaryrefslogtreecommitdiff
path: root/core/LAN_discovery.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-01 16:54:30 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-01 16:54:30 -0700
commit2e892cc981bf4c8bf7a55ecdf0c38cd729d726f5 (patch)
tree8c6b21c634e24d3dc0eaa871609471ba0bcac97f /core/LAN_discovery.h
parent4c949c5b13a3ebd80f4ab5d124036d99516bb41a (diff)
parent4a5bc1f0fe8546407670413c953146ed03d9278d (diff)
Merge pull request #251 from CharmlessCoin/network
Rewrote get_broadcast() so it works now.
Diffstat (limited to 'core/LAN_discovery.h')
-rw-r--r--core/LAN_discovery.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/LAN_discovery.h b/core/LAN_discovery.h
index 4ca65c03..96a6e6ad 100644
--- a/core/LAN_discovery.h
+++ b/core/LAN_discovery.h
@@ -28,6 +28,13 @@
28 28
29#include "DHT.h" 29#include "DHT.h"
30 30
31/* used for get_broadcast() */
32#ifdef __linux
33#include <sys/ioctl.h>
34#include <arpa/inet.h>
35#include <linux/netdevice.h>
36#endif
37
31#ifdef __cplusplus 38#ifdef __cplusplus
32extern "C" { 39extern "C" {
33#endif 40#endif