Skip to content

Commit f5b8f12

Browse files
author
Siva Chandra Reddy
committed
[libc][obvious] Add inttypes.h and stdlib.h as deps to *div functions.
1 parent 5252aa2 commit f5b8f12

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libc/src/inttypes/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ add_entrypoint_object(
2525
HDRS
2626
imaxdiv.h
2727
DEPENDS
28+
libc.include.inttypes
2829
libc.src.__support.integer_operations
2930
)

libc/src/stdlib/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ add_entrypoint_object(
105105
HDRS
106106
div.h
107107
DEPENDS
108+
libc.include.stdlib
108109
libc.src.__support.integer_operations
109110
)
110111

@@ -115,6 +116,7 @@ add_entrypoint_object(
115116
HDRS
116117
ldiv.h
117118
DEPENDS
119+
libc.include.stdlib
118120
libc.src.__support.integer_operations
119121
)
120122

@@ -125,6 +127,7 @@ add_entrypoint_object(
125127
HDRS
126128
lldiv.h
127129
DEPENDS
130+
libc.include.stdlib
128131
libc.src.__support.integer_operations
129132
)
130133

0 commit comments

Comments
 (0)