From bee7f77fe663ef847d2d46393627c9051a92d91e Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Fri, 9 Dec 2016 21:27:49 +0100 Subject: crypto/bio: define _POSIX_C_SOURCE in socket helper build fix backported from newer boringssl on cm-14.1 Change-Id: I9342170ffc123310e83dd221b33059422ee4d7c8 Signed-off-by: Wolfgang Wiedmeyer --- src/crypto/bio/socket_helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/crypto') diff --git a/src/crypto/bio/socket_helper.c b/src/crypto/bio/socket_helper.c index b1cdd1a..7e677f7 100644 --- a/src/crypto/bio/socket_helper.c +++ b/src/crypto/bio/socket_helper.c @@ -12,7 +12,8 @@ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _POSIX_SOURCE +#undef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 200112L #include #include -- cgit v1.1