Skip to content

Commit 8960078

Browse files
authored
[libc][errno] Include <linux/errno.h> for Linux in full build mode. (#92041)
1 parent c5e67b8 commit 8960078

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc/hdr/errno_macros.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifdef LIBC_FULL_BUILD
1313

1414
#ifdef __linux__
15+
#include <linux/errno.h>
16+
1517
#include "llvm-libc-macros/error-number-macros.h"
1618
#else // __linux__
1719
#include "llvm-libc-macros/generic-error-number-macros.h"

0 commit comments

Comments
 (0)