opnsense-ports/net/rabbitmq-c/files/patch-librabbitmq_amqp__tcp__socket.c
Franco Fichtner c8061343b1 */*: sync with upstream
Taken from: HardenedBSD
2017-11-27 06:44:53 +01:00

12 lines
283 B
C

--- librabbitmq/amqp_tcp_socket.c.orig 2015-06-17 07:41:33 UTC
+++ librabbitmq/amqp_tcp_socket.c
@@ -32,6 +32,9 @@
#ifndef _WIN32
# include <netinet/tcp.h>
#endif
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>