[libc] Fix errno_macros.h include paths. (#110057)

The proxy header errno_macros.h should include relative to `libc/` but
it
was instead including relative to `libc/include/`. This patch fixes this
by adding the `include` to the paths.
This commit is contained in:
Michael Jones
2024-09-25 15:46:29 -07:00
committed by GitHub
parent eab63b5a8c
commit e7d68c903b

View File

@@ -14,9 +14,9 @@
#ifdef __linux__
#include <linux/errno.h>
#include "llvm-libc-macros/error-number-macros.h"
#include "include/llvm-libc-macros/error-number-macros.h"
#else // __linux__
#include "llvm-libc-macros/generic-error-number-macros.h"
#include "include/llvm-libc-macros/generic-error-number-macros.h"
#endif
#else // Overlay mode