summaryrefslogtreecommitdiff
path: root/security/pixiewps/files/patch-pixiewps.c
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-09 21:37:49 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2019-04-09 21:37:49 +0000
commitff00850d8fee6213eeb2762d9635446f35eb270e (patch)
treed8d59734edbecd5c356584ac9762906898014b6d /security/pixiewps/files/patch-pixiewps.c
parenttextproc/qstardict: fix build with GCC-based architectures (diff)
security/pixiewps: fix build with GCC-based architectures
PR: 237102 Submitted by: pkubaj@anongoth.pl Approved by: franz@bett.ag (maintainer)
Diffstat (limited to 'security/pixiewps/files/patch-pixiewps.c')
-rw-r--r--security/pixiewps/files/patch-pixiewps.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/pixiewps/files/patch-pixiewps.c b/security/pixiewps/files/patch-pixiewps.c
new file mode 100644
index 000000000000..8f0a1c7c75d0
--- /dev/null
+++ b/security/pixiewps/files/patch-pixiewps.c
@@ -0,0 +1,13 @@
+--- pixiewps.c.orig 2019-04-08 08:26:23 UTC
++++ pixiewps.c
+@@ -32,6 +32,10 @@
+ # include <windows.h>
+ #endif
+
++#ifdef __FreeBSD__
++# include <sys/types.h>
++#endif
++
+ #ifdef __APPLE__
+ # define _DARWIN_C_SOURCE
+ #endif