From db71613f914d9356c701f6b1fc43248711cde462 Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Tue, 12 Apr 2016 07:32:40 +0900 Subject: [PATCH] Remove build warning Change-Id: I96c6f24ca91a934b9a5edfe20ca6258b13fcc448 Signed-off-by: Jiyong Min --- src/common/media-svc-util.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/common/media-svc-util.c b/src/common/media-svc-util.c index 25d39ec..f727cbc 100755 --- a/src/common/media-svc-util.c +++ b/src/common/media-svc-util.c @@ -21,7 +21,14 @@ #include #include +#ifndef __USE_XOPEN +#define DEF_XOPEN +#define __USE_XOPEN /* needed for strptime */ +#endif #include +#ifdef DEF_XOPEN +#undef __USE_XOPEN +#endif #include #include #include -- 2.7.4