Skip to content

Commit efcc9e5

Browse files
akien-mgabruvzg
andcommitted
Fix Apple OsLogLogger build on visionOS
Recent includes refactoring led to missing one here. Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
1 parent 778cf54 commit efcc9e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/apple/os_log_logger.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
#include "core/object/script_backtrace.h"
3434
#include "core/string/print_string.h"
3535

36-
#include <cstdlib> // For malloc/free
36+
#include <cstdlib> // For malloc/free.
37+
#include <cstdio> // For vsnprintf.
3738

3839
OsLogLogger::OsLogLogger(const char *p_subsystem) {
3940
const char *subsystem = p_subsystem;

0 commit comments

Comments
 (0)