Просмотр исходного кода

common : fix includes in arg.cpp and gemma3-cli.cpp (#12766)

* arg.cpp: add a missing include

* gemma3-cli.cpp: fix cinttypes include
Sergey Fedorov 9 месяцев назад
Родитель
Сommit
f1e3eb4249
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      common/arg.cpp
  2. 1 1
      examples/llava/gemma3-cli.cpp

+ 1 - 0
common/arg.cpp

@@ -18,6 +18,7 @@
 #include <algorithm>
 #include <climits>
 #include <cstdarg>
+#include <filesystem>
 #include <fstream>
 #include <regex>
 #include <set>

+ 1 - 1
examples/llava/gemma3-cli.cpp

@@ -10,7 +10,7 @@
 
 #include <vector>
 #include <limits.h>
-#include <inttypes.h>
+#include <cinttypes>
 
 #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
 #include <signal.h>