Dont include unneeded headers

This commit is contained in:
Hamish Coleman 2023-07-02 16:55:56 +01:00
parent 85c8ab536c
commit e79616dc8b
2 changed files with 2 additions and 5 deletions

View File

@ -61,7 +61,6 @@
#include <lmapibuf.h> /* for privilege check in tools/n2n-route */
#include <sys/stat.h>
#include <windows.h> /* for privilege check in tools/n2n-route */
#include "wintap.h"
#define SHUT_RDWR SD_BOTH /* for tcp */
#endif /* #ifdef _WIN32 */

View File

@ -25,12 +25,10 @@
#include <stdint.h>
#endif
#ifdef _WIN32
#include "n2n_win32.h"
#else /* #ifdef _WIN32 */
#ifndef _WIN32
#include <netinet/in.h>
#include <sys/socket.h> /* AF_INET and AF_INET6 */
#endif /* #ifdef _WIN32 */
#endif /* #ifndef _WIN32 */
#include "sn_selection.h"