Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Add missing ctype.h includes
Justine Tunney5a15956f686b
diff --git a/llamafile/cuda.c b/llamafile/cuda.cindex 232b229f..4414a0d3 100644--- a/llamafile/cuda.c+++ b/llamafile/cuda.c@@ -23,6 +23,7 @@#include "llamafile/x.h"#include <assert.h>#include <cosmo.h>+#include <ctype.h>#include <dlfcn.h>#include <errno.h>#include <libgen.h>diff --git a/llamafile/server/json.cpp b/llamafile/server/json.cppindex d74c364c..53ca6e47 100644--- a/llamafile/server/json.cpp+++ b/llamafile/server/json.cpp@@ -19,6 +19,7 @@#include "utils.h"#include <cosmo.h>+#include <ctype.h>#include <stdckdint.h>#include "double-conversion/double-to-string.h"diff --git a/llamafile/tokenize.cpp b/llamafile/tokenize.cppindex facc42c6..e4831573 100644--- a/llamafile/tokenize.cpp+++ b/llamafile/tokenize.cpp@@ -18,6 +18,7 @@#include "llamafile.h"#include "version.h"+#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>