From b1cb7fe03e3c4ae74ad590df55dc33f210b9e660 Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Fri, 16 Jun 2023 08:38:58 +0100 Subject: [PATCH] iwyu: n2n.c --- src/n2n.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/n2n.c b/src/n2n.c index 3f75c94..0675dec 100644 --- a/src/n2n.c +++ b/src/n2n.c @@ -16,15 +16,29 @@ * */ -#include "n2n.h" +#include // for errno +#include // for va_end, va_list, va_start +#include // for free, atoi, calloc, strtol +#include // for memcmp, memcpy, memset, strlen, strerror +#include // for gettimeofday, timeval +#include // for time, localtime, strftime +#include "config.h" // for PACKAGE_BUILDDATE, PACKAGE_OSNAME, PACKA... +#include "n2n.h" #include "random_numbers.h" // for n2n_rand #include "sn_selection.h" // for sn_selection_criterion_default +#include "uthash.h" // for UT_hash_handle, HASH_DEL, HASH_ITER, HAS... -#include "minilzo.h" - -#include - +#ifdef WIN32 +#include +#include +#include +#else +#include // for inet_ntop +#include // for addrinfo, freeaddrinfo, gai_strerror +#include // for AF_INET, PF_INET, bind, setsockopt, shut... +#include // for closelog, openlog, syslog, LOG_DAEMON +#endif /* ************************************** */