Fix build error for toolchin upgrade (GCC6->GCC9) 76/221676/2 accepted/tizen/unified/20200107.152907 submit/tizen/20200107.033721
authorjiyong.min <jiyong.min@samsung.com>
Tue, 7 Jan 2020 02:18:40 +0000 (11:18 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Tue, 7 Jan 2020 02:21:56 +0000 (11:21 +0900)
  error: 'SIZE_MAX' undeclared

'SIZE_MAX' is defined in 'stdint.h'.

Change-Id: I08864566a765cc0ef6635dc6a00ea9294fb78656

lib/include/media-util-internal.h
packaging/media-server.spec
src/common/include/media-common-types.h

index 3b2f115..5579677 100755 (executable)
@@ -22,6 +22,7 @@
 #ifndef _MEDIA_UTIL_INTERNAL_H_
 #define _MEDIA_UTIL_INTERNAL_H_
 
+#include <stdint.h>
 #include <sqlite3.h>
 
 #include "media-util-db.h"
index 51529b3..3ee4fb7 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       media-server
 Summary:    A server for media content management
-Version:    0.4.4
+Version:    0.4.5
 Release:    0
 Group:      Multimedia/Service
 License:    Apache-2.0
index 3d00177..87daf53 100755 (executable)
@@ -24,6 +24,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <string.h>
 #include <sqlite3.h>
 #include <stdbool.h>