libt2n: (gerd) add hello messages
[libt2n] / src / connection.hxx
index 4092fde..2343984 100644 (file)
@@ -21,8 +21,9 @@
 
 #include <string>
 
-#include "types.hxx"
+#include <netinet/in.h>
 
+#include "types.hxx"
 
 namespace libt2n
 {
@@ -40,7 +41,7 @@ class connection
 
         std::string buffer;
 
-        typedef unsigned int packet_size_indicator;
+        typedef uint32_t packet_size_indicator;
 
         packet_size_indicator bytes_available();