Skip to content

Commit 53fa037

Browse files
[libc] Fix errno_macros.h include paths. (llvm#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.
1 parent 79f6901 commit 53fa037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/hdr/errno_macros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#ifdef __linux__
1515
#include <linux/errno.h>
1616

17-
#include "llvm-libc-macros/error-number-macros.h"
17+
#include "include/llvm-libc-macros/error-number-macros.h"
1818
#else // __linux__
19-
#include "llvm-libc-macros/generic-error-number-macros.h"
19+
#include "include/llvm-libc-macros/generic-error-number-macros.h"
2020
#endif
2121

2222
#else // Overlay mode

0 commit comments

Comments
 (0)