[Common/Typedef] Include a header file 'stddef.h' to use 'size_t'
authorWook Song <wook16.song@samsung.com>
Tue, 23 Oct 2018 04:36:10 +0000 (13:36 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Tue, 23 Oct 2018 08:26:19 +0000 (17:26 +0900)
Since tensor_typedef.h uses size_t without including any header files
that define it, it is failed to build a custom filter which includes the
tensor_typedef.h when headers defining 'size_t' is not included
anywhere. This patch fixes this issue.

Signed-off-by: Wook Song <wook16.song@samsung.com>
include/tensor_typedef.h

index 88acd21..e6738cc 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef __GST_TENSOR_TYPEDEF_H__
 #define __GST_TENSOR_TYPEDEF_H__
 
+#include <stddef.h>
+
 #define NNS_TENSOR_RANK_LIMIT  (4)
 #define NNS_TENSOR_SIZE_LIMIT  (16)
 #define NNS_TENSOR_SIZE_LIMIT_STR      "16"