mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Some header simplification
This commit is contained in:
parent
d21a4fe0a2
commit
3c9a170b12
|
@ -19,14 +19,7 @@
|
||||||
#ifndef _EDGE_UTILS_WIN32_H_
|
#ifndef _EDGE_UTILS_WIN32_H_
|
||||||
#define _EDGE_UTILS_WIN32_H_
|
#define _EDGE_UTILS_WIN32_H_
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
|
||||||
|
|
||||||
#include <process.h>
|
|
||||||
#include <n2n.h>
|
#include <n2n.h>
|
||||||
#include <winsock2.h>
|
|
||||||
#include <iphlpapi.h>
|
|
||||||
|
|
||||||
|
|
||||||
/* Multicast peers discovery disabled due to https://github.com/ntop/n2n/issues/65 */
|
/* Multicast peers discovery disabled due to https://github.com/ntop/n2n/issues/65 */
|
||||||
|
@ -45,7 +38,6 @@ struct tunread_arg {
|
||||||
extern HANDLE startTunReadThread (struct tunread_arg *arg);
|
extern HANDLE startTunReadThread (struct tunread_arg *arg);
|
||||||
int get_best_interface_ip (n2n_edge_t * eee, dec_ip_str_t *ip_addr);
|
int get_best_interface_ip (n2n_edge_t * eee, dec_ip_str_t *ip_addr);
|
||||||
|
|
||||||
#endif /* WIN32 */
|
|
||||||
|
|
||||||
#endif /* _EDGE_UTILS_WIN32_H_ */
|
#endif /* _EDGE_UTILS_WIN32_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user