]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp
Initialise 'user' field in IA_USER's constructor
[stg.git] / projects / stargazer / plugins / authorization / inetaccess / inetaccess.cpp
index b3d8823eabbaf74a17a157f129ea12b018967f29..6f20056771887e27de829d947c3561c649c5a0bc 100644 (file)
@@ -30,6 +30,8 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/select.h>
+#include <unistd.h> // usleep, close
 
 #include <csignal>
 #include <cstdlib>
@@ -41,8 +43,8 @@
 #include "common.h"
 #include "stg_locker.h"
 #include "tariff.h"
-#include "../../../settings.h"
-#include "../../../user_property.h"
+#include "user_property.h"
+#include "settings.h"
 
 extern volatile const time_t stgTime;