logger: Fix missing include for size_t
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 16 Mar 2017 13:13:05 +0000 (14:13 +0100)
committerPhil Coval <philippe.coval@osg.samsung.com>
Thu, 23 Mar 2017 10:44:05 +0000 (10:44 +0000)
Observed issue on Tizen:Common:

  resource/csdk/logger/include/trace.h:60:65:\
   error: unknown type name 'size_t'
  resource/csdk/logger/src/trace.c:29:65:\
   error: unknown type name 'size_t'

Change-Id: Ic4c4a492d238b4f9d7860720fa10c92dfca051f8
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/17963
Reviewed-by: Mats Wichmann <mats@linux.com>
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
resource/csdk/logger/include/trace.h

index db23029..cacf5dc 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef TRACE_H_
 #define TRACE_H_
 
+#include <stddef.h>
+
 #ifdef __ANDROID__
 #include "logger.h"
 #elif defined(__TIZEN__)