Skip to content

Commit 0580610

Browse files
SchrodingerZhuYifan Zhu
authored andcommitted
fix header
1 parent ab5ba24 commit 0580610

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libc/include/llvm-libc-types/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ add_header(blksize_t HDR blksize_t.h)
2121
add_header(cc_t HDR cc_t.h)
2222
add_header(clock_t HDR clock_t.h)
2323
add_header(clockid_t HDR clockid_t.h)
24-
add_header(cnd_t HDR cnd_t.h)
24+
add_header(cnd_t HDR cnd_t.h DEPENDS .__futex_word)
2525
add_header(cookie_io_functions_t HDR cookie_io_functions_t.h DEPENDS .off64_t .ssize_t)
2626
add_header(cpu_set_t HDR cpu_set_t.h)
2727
add_header(double_t HDR double_t.h)

libc/include/llvm-libc-types/cnd_t.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#ifndef LLVM_LIBC_TYPES_CND_T_H
1010
#define LLVM_LIBC_TYPES_CND_T_H
1111

12-
#include "mtx_t.h"
12+
#include "llvm-libc-types/__futex_word.h"
1313

1414
typedef struct {
1515
void *__qfront;
1616
void *__qback;
17-
mtx_t __qmtx;
17+
__futex_word __qmtx;
1818
} cnd_t;
1919

2020
#endif // LLVM_LIBC_TYPES_CND_T_H

0 commit comments

Comments
 (0)