aboutsummaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-tools__irsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/lirc/files/patch-tools__irsend.c')
-rw-r--r--comms/lirc/files/patch-tools__irsend.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/lirc/files/patch-tools__irsend.c b/comms/lirc/files/patch-tools__irsend.c
new file mode 100644
index 000000000000..96b9dee79361
--- /dev/null
+++ b/comms/lirc/files/patch-tools__irsend.c
@@ -0,0 +1,12 @@
+--- tools/irsend.c.orig
++++ tools/irsend.c
+@@ -40,6 +40,9 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <limits.h>
++#ifdef __FreeBSD__
++#include <netinet/in.h>
++#endif
+
+ #define PACKET_SIZE 256
+ /* three seconds */