X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2196a3a0cdc5384c082febb7f4aa5994cc7d80db..46d0fa38003ef0b122fea77dfaa252fa832cb5a3:/projects/stargazer/traffcounter_impl.cpp 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 <sys/types.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> - -#include <csignal> -#include <cassert> -#include <cstdio> // fopen and similar -#include <cstdlib> // 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 <algorithm> +#include <csignal> +#include <cassert> +#include <cstdio> // fopen and similar +#include <cstdlib> // strtol + +/* inet_aton */ +#include <sys/types.h> +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #define FLUSH_TIME (10) #define REMOVE_TIME (31)