]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/send_functor.h
Various fixes of issues reported by static analyzers.
[stg.git] / projects / stargazer / plugins / other / rscript / send_functor.h
index a14fe20b3e95cdf18ec602fc656d087974ab0654..baa4c1183de665824169cea9d40e151cee58c0a1 100644 (file)
 #ifndef __SEND_FUNCTOR_H__
 #define __SEND_FUNCTOR_H__
 
-#include <sys/types.h>
-#include <sys/socket.h>
+#include "stg/os_int.h"
 
 #include <functional>
 
-#include "stg/os_int.h"
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/ip.h>
 
 class PacketSender : public std::unary_function<uint32_t, ssize_t> {
     public: