summaryrefslogtreecommitdiff
path: root/src/common/socket.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2012-12-16 17:47:51 -0800
committerBen Longbons <b.r.longbons@gmail.com>2012-12-24 10:02:00 -0800
commitb52127bcbf817ff8285b36d22198b275327e16bb (patch)
tree7bc596289c011e719168bef846b8cf63bf5d4947 /src/common/socket.hpp
parent4bd7eeec09629d3c0f900d42c899fe23c69e07b6 (diff)
downloadtmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.gz
tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.bz2
tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.tar.xz
tmwa-b52127bcbf817ff8285b36d22198b275327e16bb.zip
Cleanup headers and remove all uses of va_list except logging
Diffstat (limited to 'src/common/socket.hpp')
-rw-r--r--src/common/socket.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/common/socket.hpp b/src/common/socket.hpp
index b2ef119..08dc3f6 100644
--- a/src/common/socket.hpp
+++ b/src/common/socket.hpp
@@ -3,13 +3,12 @@
# include "sanity.hpp"
-# include <stdio.h>
-
-# include <sys/types.h>
-# include <sys/socket.h>
# include <netinet/in.h>
+# include <sys/socket.h>
+# include <sys/types.h>
-# include <time.h>
+# include <cstdio>
+# include <ctime>
/// Check how much can be read
# define RFIFOREST(fd) (session[fd]->rdata_size-session[fd]->rdata_pos)