Remove build warning 17/65617/1 accepted/tizen/common/20160418.141711 accepted/tizen/ivi/20160418.083417 accepted/tizen/mobile/20160418.083524 accepted/tizen/tv/20160418.083017 accepted/tizen/wearable/20160418.083352 submit/tizen/20160418.023049
authorJiyong Min <jiyong.min@samsung.com>
Mon, 11 Apr 2016 22:32:40 +0000 (07:32 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 11 Apr 2016 22:33:24 +0000 (07:33 +0900)
Change-Id: I96c6f24ca91a934b9a5edfe20ca6258b13fcc448
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
src/common/media-svc-util.c

index 25d39ec..f727cbc 100755 (executable)
 
 #include <unistd.h>
 #include <stdlib.h>
+#ifndef __USE_XOPEN
+#define DEF_XOPEN
+#define __USE_XOPEN /* needed for strptime */
+#endif
 #include <time.h>
+#ifdef DEF_XOPEN
+#undef __USE_XOPEN
+#endif
 #include <string.h>
 #include <sys/vfs.h>
 #include <glib/gstdio.h>