Some cleanup. Removed sharedmemory_global.h
[umurmur.git] / src / sharedmemory_struct.h
index c1f443008ba7a709e063b00f01b590894ed38023..de356c428fbab8c0ab07b0fd8f4d93acbf536812 100644 (file)
@@ -1,8 +1,12 @@
+#include <arpa/inet.h>\r
+#include <stdint.h>\r
+#include "types.h"\r
+\r
 typedef struct\r
 {\r
 \r
   char username[121];\r
-  char ipaddress[46];\r
+  char ipaddress[INET6_ADDRSTRLEN];\r
   char channel[121];\r
   char os[121], release[121], os_version[121];\r
   int tcp_port, udp_port;\r