From 16e9905f82947dd471c09382122d8150ba6fda1a Mon Sep 17 00:00:00 2001 From: Maksym Mamontov Date: Mon, 16 Dec 2024 17:59:03 +0200 Subject: [PATCH 1/1] Fix compilation. --- projects/stargazer/traffcounter_impl.cpp | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index 70ade1ae..f983d6af 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -28,17 +28,6 @@ $Author: faust $ */ -/* inet_aton */ -#include -#include -#include -#include - -#include -#include -#include // fopen and similar -#include // strtol - #include "stg/common.h" #include "stg/const.h" // MONITOR_TIME_DELAY_SEC #include "traffcounter_impl.h" @@ -46,6 +35,18 @@ #include "users_impl.h" #include "async_pool.h" +#include +#include +#include +#include // fopen and similar +#include // strtol + +/* inet_aton */ +#include +#include +#include +#include + #define FLUSH_TIME (10) #define REMOVE_TIME (31) -- 2.44.2