[libc][obvious] Add inttypes.h and stdlib.h as deps to *div functions.
GitOrigin-RevId: f5b8f1247cd9d1b18b7b95f6f197d4d654597529
diff --git a/src/inttypes/CMakeLists.txt b/src/inttypes/CMakeLists.txt
index 81068bd..e0e0f4d 100644
--- a/src/inttypes/CMakeLists.txt
+++ b/src/inttypes/CMakeLists.txt
@@ -25,5 +25,6 @@
HDRS
imaxdiv.h
DEPENDS
+ libc.include.inttypes
libc.src.__support.integer_operations
)
diff --git a/src/stdlib/CMakeLists.txt b/src/stdlib/CMakeLists.txt
index d787bdf..c058a93 100644
--- a/src/stdlib/CMakeLists.txt
+++ b/src/stdlib/CMakeLists.txt
@@ -105,6 +105,7 @@
HDRS
div.h
DEPENDS
+ libc.include.stdlib
libc.src.__support.integer_operations
)
@@ -115,6 +116,7 @@
HDRS
ldiv.h
DEPENDS
+ libc.include.stdlib
libc.src.__support.integer_operations
)
@@ -125,6 +127,7 @@
HDRS
lldiv.h
DEPENDS
+ libc.include.stdlib
libc.src.__support.integer_operations
)