wasi_nn_llamacpp.c: make this compilable (#4403)

This commit is contained in:
YAMAMOTO Takashi 2025-06-26 08:05:45 +09:00 committed by GitHub
parent 535004dedc
commit a7aae9d2cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,9 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved. * Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/ */
#include <stdlib.h>
#include "wasi_nn_types.h" #include "wasi_nn_types.h"
#include "utils/logger.h" #include "utils/logger.h"
#include "llama.h" #include "llama.h"
@ -286,7 +289,7 @@ deinit_backend(void *ctx)
llama_backend_free(); llama_backend_free();
os_free(backend_ctx); free(backend_ctx);
return success; return success;
} }