git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sgauth compilation errors
[stg.git]
/
projects
/
stargazer
/
traffcounter_impl.cpp
diff --git
a/projects/stargazer/traffcounter_impl.cpp
b/projects/stargazer/traffcounter_impl.cpp
index 83554e277338aa7c4e0f819881446cbf9cb65b87..45ba883e93da3dc955fdab1bacf20c0058a1e2f6 100644
(file)
--- a/
projects/stargazer/traffcounter_impl.cpp
+++ b/
projects/stargazer/traffcounter_impl.cpp
@@
-29,6
+29,7
@@
*/
/* inet_aton */
*/
/* inet_aton */
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@
-37,9
+38,9
@@
#include <cassert>
#include <cstdio> // fopen and similar
#include <cassert>
#include <cstdio> // fopen and similar
+#include "stg/common.h"
+#include "stg/stg_locker.h"
#include "traffcounter_impl.h"
#include "traffcounter_impl.h"
-#include "common.h"
-#include "stg_locker.h"
#include "stg_timer.h"
#define FLUSH_TIME (10)
#include "stg_timer.h"
#define FLUSH_TIME (10)