X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0c097ef3435d2a45c1ee4ac80f8bd3f254fb8df5..3f5b16beee49132958b11a586d5573ad426b851f:/projects/stargazer/traffcounter_impl.cpp?ds=inline diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index 6a573428..f983d6af 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -28,25 +28,25 @@ $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/locker.h" #include "stg/const.h" // MONITOR_TIME_DELAY_SEC #include "traffcounter_impl.h" #include "stg_timer.h" #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)