[libc] Fix non-relative includes of __llvm-libc-common.h (#209412)

This seems to work, but I ran into this problem when trying to expand
hermetic tests.

The hdrgen-generated headers already use relative includes of this file.
This commit is contained in:
Pavel Labath authored and GitHub committed 2026-07-14 14:14:17 +02:00
1 parent 23b3f21fd0
commit cf9a244fb2
5 files changed
+5 -5

No files matched your search

@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H
#define LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H
#include "__llvm-libc-common.h"
#include "../../__llvm-libc-common.h"
#define SIGINT 2
#define SIGILL 4
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_MACROS_LINUX_SIGNAL_MACROS_H
#define LLVM_LIBC_MACROS_LINUX_SIGNAL_MACROS_H
#include "__llvm-libc-common.h"
#include "../../__llvm-libc-common.h"
#define SIGHUP 1
#define SIGINT 2
@@ -9,8 +9,8 @@
#ifndef LLVM_LIBC_MACROS_NETINET_IN_MACROS_H
#define LLVM_LIBC_MACROS_NETINET_IN_MACROS_H
#include "../__llvm-libc-common.h"
#include "../llvm-libc-types/in_addr_t.h"
#include "__llvm-libc-common.h"
#define IPPROTO_IP 0
#define IPPROTO_ICMP 1
+1 -1
View File
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_TYPES___FUTEX_WORD_H
#define LLVM_LIBC_TYPES___FUTEX_WORD_H
#include "__llvm-libc-common.h"
#include "../__llvm-libc-common.h"
typedef struct {
// Futex word should be aligned appropriately to allow target atomic
+1 -1
View File
@@ -9,7 +9,7 @@
#ifndef LLVM_LIBC_SYS_PRCTL_H
#define LLVM_LIBC_SYS_PRCTL_H
#include "__llvm-libc-common.h"
#include "../__llvm-libc-common.h"
// Process control is highly platform specific, so the platform usually defines
// the macros itself.