From: Maxim Mamontov <faust.madf@gmail.com>
Date: Wed, 14 Feb 2018 08:17:11 +0000 (+0200)
Subject: Fix build on FreeBSD.
X-Git-Tag: 2.409~29
X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/a84a49ca1eb7c31f79f6328e9dc453399ee120f9?hp=--cc

Fix build on FreeBSD.
---

a84a49ca1eb7c31f79f6328e9dc453399ee120f9
diff --git a/projects/stargazer/plugins/other/rscript/send_functor.h b/projects/stargazer/plugins/other/rscript/send_functor.h
index baa4c118..dc8ad63a 100644
--- a/projects/stargazer/plugins/other/rscript/send_functor.h
+++ b/projects/stargazer/plugins/other/rscript/send_functor.h
@@ -33,6 +33,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <netinet/ip.h>
 
 class PacketSender : public std::unary_function<uint32_t, ssize_t> {