summaryrefslogtreecommitdiff
path: root/comms/lirc/files/patch-tools_irsend.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-21 15:03:43 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-21 15:03:43 +0000
commit2380a3cfc59187ebd4191bdd9b21291570c66180 (patch)
tree79244d9fb03cd36296a1f10c4686303eb673dbdf /comms/lirc/files/patch-tools_irsend.c
parentAdd textproc/bibclean (diff)
Fix build with -fno-common
While here add license and regenerate all patches with make makepatch.
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..5eee852ce81c
--- /dev/null
+++ b/comms/lirc/files/patch-tools_irsend.c
@@ -0,0 +1,12 @@
+--- tools/irsend.c.orig 2011-03-25 22:28:18 UTC
++++ tools/irsend.c
+@@ -41,6 +41,9 @@
+ #include <errno.h>
+ #include <signal.h>
+ #include <limits.h>
++#ifdef __FreeBSD__
++#include <netinet/in.h>
++#endif
+
+ #include <stdint.h>
+