]> git.stg.codes - stg.git/blobdiff - include/user_ips.h
Виправлено помилки компіляції на FreeBSD4
[stg.git] / include / user_ips.h
index f160a31a04d028376a7b15c87a1bd2b993c11d80..250520b28f7eca14cc353020166f9d7ac0048956 100644 (file)
 #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 <algorithm>
 #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"