diff --git a/src/packet_dump.c b/src/packet_dump.c index 4085102..55232db 100644 --- a/src/packet_dump.c +++ b/src/packet_dump.c @@ -2,8 +2,6 @@ #include "../lib/debug_config.h" #include #include -#include -#include static const char* tcp_flags_to_str(uint8_t flags) { static char buf[32]; diff --git a/src/utun.c b/src/utun.c index 35eee69..c32d6a3 100644 --- a/src/utun.c +++ b/src/utun.c @@ -249,9 +249,12 @@ struct UASYNC* main_ua = NULL; static void signal_handler(int sig) { if (sig == SIGINT || sig == SIGTERM) { g_shutdown = 1; - } else if (sig == SIGHUP) { + } +#ifndef _WIN32 + else if (sig == SIGHUP) { g_reload = 1; } +#endif if (main_ua) { uasync_wakeup(main_ua); }