git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MessageTimeout parameter and description to the config file
[stg.git]
/
include
/
user_ips.h
diff --git
a/include/user_ips.h
b/include/user_ips.h
index f160a31a04d028376a7b15c87a1bd2b993c11d80..250520b28f7eca14cc353020166f9d7ac0048956 100644
(file)
--- a/
include/user_ips.h
+++ b/
include/user_ips.h
@@
-27,16
+27,19
@@
#ifndef USER_IPS_H
#define USER_IPS_H
#ifndef USER_IPS_H
#define USER_IPS_H
+#ifdef FREE_BSD
+#include <sys/types.h>
+#endif
+
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+#include <cstring>
#include <vector>
#include <vector>
-//#include <algorithm>
#include <string>
#include <iostream>
#include <sstream>
#include <string>
#include <iostream>
#include <sstream>
-#include <cstring>
-/////////////////////////
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include "common.h"
#include "os_int.h"
#include "common.h"
#include "os_int.h"