aboutsummaryrefslogtreecommitdiffstats
path: root/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-11-14 10:32:30 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-11-14 10:32:30 +0000
commitdeab96c6016be38ab793c6ad0c4f8227d0984235 (patch)
tree889fbb3ad54ba4aa69b2fef8df913fdac6e242e0 /testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
parente8603102422b6e0be62d51fabaeec2bc1acc19fc (diff)
downloadaports-deab96c6016be38ab793c6ad0c4f8227d0984235.tar.gz
aports-deab96c6016be38ab793c6ad0c4f8227d0984235.tar.bz2
aports-deab96c6016be38ab793c6ad0c4f8227d0984235.tar.xz
testing/reaver-wps-fork-t6x: new aport. Fixes #6459
Diffstat (limited to 'testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch')
-rw-r--r--testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch b/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
new file mode 100644
index 0000000000..541968aec1
--- /dev/null
+++ b/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
@@ -0,0 +1,27 @@
+From 811f5c0b0a226edfbf5aa2f316e083f30ec3cd8d Mon Sep 17 00:00:00 2001
+From: Yousong Zhou <yszhou4tech@gmail.com>
+Date: Tue, 18 Aug 2015 14:34:26 +0800
+Subject: [PATCH] Include <sys/types.h> for definition of u_char.
+
+Fixes build with musl-libc.
+
+Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
+---
+ src/libwps/libwps.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/libwps/libwps.h b/src/libwps/libwps.h
+index b04dd8b..bdd7b9a 100755
+--- a/src/libwps/libwps.h
++++ b/src/libwps/libwps.h
+@@ -17,6 +17,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <arpa/inet.h>
++#include <sys/types.h>
+
+ #define LIBWPS_MAX_STR_LEN 256
+
+--
+1.7.10.4
+