summaryrefslogtreecommitdiff
path: root/core/LAN_discovery.h
diff options
context:
space:
mode:
authorcharmlesscoin <charmlesscoin@gmail.com>2013-08-01 16:25:22 -0400
committercharmlesscoin <charmlesscoin@gmail.com>2013-08-01 16:25:22 -0400
commit8a0800da4e2c3850ea3e440e0dffe842ea672511 (patch)
tree171e963a829680f1265ebd8e3a0f14d1c805c661 /core/LAN_discovery.h
parent75daa1aec9c908205ebc8e085b4c5cdb048b6017 (diff)
redid get_broadcast(), looks like it should work 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