First Commit
[librecmc/package-feed.git] / net / reaver / patches / 0100-Include-sys-types.h-for-definition-of-u_char.patch
1 From 811f5c0b0a226edfbf5aa2f316e083f30ec3cd8d Mon Sep 17 00:00:00 2001
2 From: Yousong Zhou <yszhou4tech@gmail.com>
3 Date: Tue, 18 Aug 2015 14:34:26 +0800
4 Subject: [PATCH] Include <sys/types.h> for definition of u_char.
5
6 Fixes build with musl-libc.
7
8 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
9 ---
10  src/libwps/libwps.h |    1 +
11  1 file changed, 1 insertion(+)
12
13 diff --git a/src/libwps/libwps.h b/src/libwps/libwps.h
14 index b04dd8b..bdd7b9a 100755
15 --- a/src/libwps/libwps.h
16 +++ b/src/libwps/libwps.h
17 @@ -17,6 +17,7 @@
18  #include <stdio.h>
19  #include <string.h>
20  #include <arpa/inet.h>
21 +#include <sys/types.h>
22  
23  #define LIBWPS_MAX_STR_LEN 256
24  
25 -- 
26 1.7.10.4
27