opnsense-ports/security/xca/files/patch-lib_ipvalidator.h
Franco Fichtner 358f59d866 */*: sync with upstream
Taken from: HardenedBSD
2020-01-31 13:33:41 +01:00

14 lines
391 B
C

--- 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