From 1c0b5d82a316f9b222e7b12e13403cee65c6ac84 Mon Sep 17 00:00:00 2001
From: Yuri Victorovich <yuri@FreeBSD.org>
Date: Sat, 4 May 2019 06:02:43 +0000
Subject: comms/unixcw: fix build with GCC-based architectures

PR:		237744
Submitted by:	pkubaj
---
 comms/unixcw/files/patch-src_xcwcp_receiver.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 comms/unixcw/files/patch-src_xcwcp_receiver.h

(limited to 'comms')

diff --git a/comms/unixcw/files/patch-src_xcwcp_receiver.h b/comms/unixcw/files/patch-src_xcwcp_receiver.h
new file mode 100644
index 000000000000..7e2285876361
--- /dev/null
+++ b/comms/unixcw/files/patch-src_xcwcp_receiver.h
@@ -0,0 +1,12 @@
+--- src/xcwcp/receiver.h.orig	2018-12-20 16:18:13 UTC
++++ src/xcwcp/receiver.h
+@@ -21,6 +21,9 @@
+ 
+ #include <QMouseEvent>
+ #include <QKeyEvent>
++#ifdef __FreeBSD__
++#include <sys/time.h>
++#endif
+ 
+ 
+ 
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0