summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-09 21:27:49 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-12-09 21:27:49 +0100
commitbee7f77fe663ef847d2d46393627c9051a92d91e (patch)
treee949c0646318f357750fa02fd44a999dbcae0aab /src
parent1c725f9b6cce4af300ac28b902d186e8053c2f97 (diff)
downloadexternal_boringssl-bee7f77fe663ef847d2d46393627c9051a92d91e.zip
external_boringssl-bee7f77fe663ef847d2d46393627c9051a92d91e.tar.gz
external_boringssl-bee7f77fe663ef847d2d46393627c9051a92d91e.tar.bz2
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 <wolfgit@wiedmeyer.de>
Diffstat (limited to 'src')
-rw-r--r--src/crypto/bio/socket_helper.c3
1 files changed, 2 insertions, 1 deletions
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 <openssl/bio.h>
#include <openssl/err.h>