Microblaze: added architecture support for both big endian and low endian
[buildroot-gz.git] / package / openvpn / openvpn-fix-build-with-disable-crypto.patch
blob54665587588dcb2f91326e77fd0f73e09d09b859
1 [PATCH] fix build with --disable-crypto
3 options.c is missing the definition for struct context when built with
4 --disable-crypto, as it then doesn't get pulled in through push.h,
5 leading to build errors like:
7 options.c: In function ‘parse_http_proxy_fallback’:
8 options.c:1474: error: dereferencing pointer to incomplete type
9 options.c:1477: error: dereferencing pointer to incomplete type
10 options.c:1478: error: dereferencing pointer to incomplete type
12 Fix it by including forward.h
14 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
15 ---
16 options.c | 1 +
17 1 file changed, 1 insertion(+)
19 Index: openvpn-2.1.3/options.c
20 ===================================================================
21 --- openvpn-2.1.3.orig/options.c
22 +++ openvpn-2.1.3/options.c
23 @@ -29,6 +29,7 @@
25 #include "syshead.h"
27 +#include "forward.h"
28 #include "buffer.h"
29 #include "error.h"
30 #include "common.h"