summaryrefslogtreecommitdiff
path: root/security/xca/files/patch-lib_ipvalidator.h
blob: a4f4ac062db44672cfe7ac4b473096fd87424865 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- lib/ipvalidator.h.orig	2020-01-29 20:40:04 UTC
+++ lib/ipvalidator.h
@@ -13,6 +13,11 @@
 #include <QString>
 #include <QValidator>
 
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#include <netinet/in.h>
+#endif
+
 /* Validating IPv4/6 is not as trivial as thought.
  * - The QHostAddress class requires the network library
  *   and i don't want to add many megabytes for this validator