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

via libc-commits libc-commits at lists.llvm.org
Wed Sep 25 15:46:33 PDT 2024


Author: Michael Jones
Date: 2024-09-25T15:46:29-07:00
New Revision: e7d68c903be0d813be96954b274e65e58c42e5e4

URL: https://github.com/llvm/llvm-project/commit/e7d68c903be0d813be96954b274e65e58c42e5e4
DIFF: https://github.com/llvm/llvm-project/commit/e7d68c903be0d813be96954b274e65e58c42e5e4.diff

LOG: [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.

Added: 
    

Modified: 
    libc/hdr/errno_macros.h

Removed: 
    


################################################################################
diff  --git a/libc/hdr/errno_macros.h b/libc/hdr/errno_macros.h
index 198b5233d4409a..27ea49977d8c8e 100644
--- a/libc/hdr/errno_macros.h
+++ b/libc/hdr/errno_macros.h
@@ -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


        


More information about the libc-commits mailing list