diff options
Diffstat (limited to 'src/common/socket.hpp')
-rw-r--r-- | src/common/socket.hpp | 9 |
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) |