Browse Source

Some header simplification

pull/1131/head
Hamish Coleman 1 year ago
parent
commit
3c9a170b12
  1. 8
      include/edge_utils_win32.h

8
include/edge_utils_win32.h

@ -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…
Cancel
Save