From be2a64a67748feb272cbc903314accf6baf4452f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=ED=95=A8=EB=AA=85=EC=A3=BC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Wed, 25 Sep 2019 08:46:34 +0900 Subject: [PATCH] Fix nnfw.h application build errors (#7716) Fix build errors of applications using nnfw.h: ``` [ 15s] /usr/include/nnfw.h:162:35: error: unknown type name 'nnfw_tensorinfo' [ 15s] nnfw_tensorinfo *tensor_info); [ 15s] ^~~~~~~~~~~~~~~ [ 15s] /usr/include/nnfw.h:174:36: error: unknown type name 'nnfw_tensorinfo' [ 15s] nnfw_tensorinfo *tensor_info); [ 15s] ^~~~~~~~~~~~~~~ ``` Fixes #7715 Signed-off-by: MyungJoo Ham --- runtimes/include/nnfw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/runtimes/include/nnfw.h b/runtimes/include/nnfw.h index 320b7b1..456781e 100644 --- a/runtimes/include/nnfw.h +++ b/runtimes/include/nnfw.h @@ -25,6 +25,7 @@ extern "C" { #endif typedef struct nnfw_session nnfw_session; +typedef struct nnfw_tensorinfo nnfw_tensorinfo; typedef enum { NNFW_TYPE_TENSOR_FLOAT32 = 0, -- 2.7.4