Skip to content

Commit 120c4dd

Browse files
Sharjeel-Khanintel-mediadev
authored andcommitted
Add missing headers for C++23
Add headers to resolve C++23 build errors because C++23 removed transitive includes so you have to add the headers directly. Errors: vendor/intel/desktop/media-driver/cmrtlib/agnostic/share/cm_printf_host.cpp:226:43: error: use of undeclared identifier 'atoi' 226 | m_currToken.tokenString = atoi(m_currToken.tokenString.c_str()); Signed-off-by: Hirokazu Honda <hiroh@google.com>
1 parent 024aa25 commit 120c4dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmrtlib/agnostic/share/cm_printf_host.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
#include "cm_printf_base.h"
2525

26+
#include <cstdlib>
2627
#include <string>
2728

2829
#define CM_PRINTF(f_, ...) fprintf((f_), __VA_ARGS__)

0 commit comments

Comments
 (0)