Some header simplification

This commit is contained in:
Hamish Coleman 2023-06-22 08:54:46 +01:00
parent d21a4fe0a2
commit 3c9a170b12

View File

@ -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_ */