File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
src/__support/OSUtil/linux
test/src/__support/OSUtil/linux Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11
11
#include " src/__support/threads/callonce.h"
12
12
#include " src/__support/threads/linux/futex_word.h"
13
13
#include " src/errno/libc_errno.h"
14
- #include " src/sys/auxv/getauxval.h"
15
14
#include < linux/auxvec.h>
16
15
#include < linux/elf.h>
17
16
24
23
#endif
25
24
26
25
namespace LIBC_NAMESPACE {
26
+
27
+ // we don't include getauxval.h as it may forcibly pull in elf.h (via
28
+ // sys/auxv.h) in overlay mode instead, we provide a separate declaration for
29
+ // getauxval
30
+ unsigned long getauxval (unsigned long id);
31
+
27
32
namespace vdso {
28
33
29
34
// See https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symverdefs.html
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ add_libc_test(
8
8
SRCS vdso_test.cpp
9
9
DEPENDS
10
10
libc.src.__support.OSUtil.vdso
11
- libc.include.llvm-libc- types.struct_timeval # TODO: update this to proxy header once available
11
+ libc.hdr. types.struct_timeval
12
12
)
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " llvm-libc- types/struct_timeval.h"
9
+ #include " hdr/ types/struct_timeval.h"
10
10
#include " src/__support/OSUtil/vdso.h"
11
11
#include " test/UnitTest/Test.h"
12
12
You can’t perform that action at this time.
0 commit comments