--- a/plugins/http_renderer/src/httprsrv.c
+++ b/plugins/http_renderer/src/httprsrv.c
@@ -38,6 +38,7 @@
 #include <stdbool.h>
 #include <unistd.h>
 #include <fcntl.h>
+#include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <sys/types.h>
 #include <sys/socket.h>
