Add some missing headers

When running clang-format which reorders headers, those are the ones
that came up as missing.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser 2024-08-24 09:36:47 +02:00 committed by Stan
parent d055090dd2
commit a44dd59a0c
4 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,8 @@
#include "lib/sysdep/compiler.h" // MSC_VERSION #include "lib/sysdep/compiler.h" // MSC_VERSION
#include "lib/sysdep/arch.h" // ARCH_AMD64 #include "lib/sysdep/arch.h" // ARCH_AMD64
#include <cstdint>
template<typename T> template<typename T>
inline bool IsAligned(T t, uintptr_t multiple) inline bool IsAligned(T t, uintptr_t multiple)
{ {

View File

@ -30,6 +30,8 @@
#include "lib/sysdep/compiler.h" #include "lib/sysdep/compiler.h"
#include "lib/sysdep/arch.h" // ARCH_AMD64 #include "lib/sysdep/arch.h" // ARCH_AMD64
#include <cstddef>
/** /**
* mark a function parameter as unused and avoid * mark a function parameter as unused and avoid
* the corresponding compiler warning. * the corresponding compiler warning.

View File

@ -161,6 +161,10 @@ To summarize: +/-1SHHCC (S=subsystem, HH=header, CC=code number)
#ifndef INCLUDED_STATUS #ifndef INCLUDED_STATUS
#define INCLUDED_STATUS #define INCLUDED_STATUS
#include "lib/types.h"
#include <cstddef>
// an integral type allows defining error codes in separate headers, // an integral type allows defining error codes in separate headers,
// but is not as type-safe as an enum. use Lint's 'strong type' checking // but is not as type-safe as an enum. use Lint's 'strong type' checking
// to catch errors such as Status Func() { return 1; }. // to catch errors such as Status Func() { return 1; }.

View File

@ -23,6 +23,8 @@
#ifndef INCLUDED_UNIX_EXECUTABLE_PATHNAME #ifndef INCLUDED_UNIX_EXECUTABLE_PATHNAME
#define INCLUDED_UNIX_EXECUTABLE_PATHNAME #define INCLUDED_UNIX_EXECUTABLE_PATHNAME
#include "lib/os_path.h"
OsPath unix_ExecutablePathname(); OsPath unix_ExecutablePathname();
#endif // INCLUDED_UNIX_EXECUTABLE_PATHNAME #endif // INCLUDED_UNIX_EXECUTABLE_PATHNAME