diff options
Diffstat (limited to 'core/LAN_discovery.h')
-rw-r--r-- | core/LAN_discovery.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/LAN_discovery.h b/core/LAN_discovery.h index 4ca65c03..23391b90 100644 --- a/core/LAN_discovery.h +++ b/core/LAN_discovery.h | |||
@@ -28,6 +28,14 @@ | |||
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 | |||
38 | |||
31 | #ifdef __cplusplus | 39 | #ifdef __cplusplus |
32 | extern "C" { | 40 | extern "C" { |
33 | #endif | 41 | #endif |