Re: [Openvpn-devel] [PATCH] Ensure sys/un.h autoconf detection includes sys/socket.h

2012-04-16 Thread Alon Bar-Lev
Thanks for explanation. David, please apply. On Mon, Apr 16, 2012 at 10:02 AM, Adriaan de Jong wrote: > > There is on Android: > >  - sys/un.h includes linux/un.h >  - linux/un.h uses sa_family_t >  - sa_family_t is defined in linux/socket.h >  - which is included from sys/socket.h > > Therefore,

Re: [Openvpn-devel] Build failure on "master" when using PolarSSL

2012-04-16 Thread Adriaan de Jong
The function changed to allow more than 4 bytes of random to be retrieved. The new patches shouldn't have that problem anyway, they use the new PolarSSL 1.1 DRBG instead of a direct call to Havege. Adriaan -Original Message- From: Alon Bar-Lev [mailto:alon.bar...@gmail.com] Sent: zater

Re: [Openvpn-devel] [PATCH] Ensure sys/un.h autoconf detection includes sys/socket.h

2012-04-16 Thread Adriaan de Jong
There is on Android: - sys/un.h includes linux/un.h - linux/un.h uses sa_family_t - sa_family_t is defined in linux/socket.h - which is included from sys/socket.h Therefore, sys/socket.h is required for linux/un.h... Hope that clarifies things, Adriaan -Original Message- From: Alon