From 34f3ad097991b7d222b2e84e0ac9a16d92d492ac Mon Sep 17 00:00:00 2001 From: Hyunho Kang Date: Mon, 28 Nov 2016 21:14:02 +0900 Subject: [PATCH] Add define _GNU_SOURCE for strerror_r Only GNU strerror_r return char * Change-Id: Id9846081e457a61ab8b2d618d7a7bd828692a8ab Signed-off-by: Hyunho Kang --- src/message-port.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/message-port.c b/src/message-port.c index 216dc5d..ac97f98 100755 --- a/src/message-port.c +++ b/src/message-port.c @@ -19,6 +19,7 @@ * @file message-port.cpp * @brief This is the implementation file for the MessagePort. */ +#define _GNU_SOURCE #include #include -- 2.7.4