strerror_r can return int if we do not define _GNU_SOURCE
Change-Id: I18b77fc251c323716ac9a87cda05872b43147387
Signed-off-by: hyunho <hhstark.kang@samsung.com>
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#include <unistd.h>
#include <dlog.h>
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
#include <stdio.h>
#include <string.h>