summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-07-19 20:44:58 +0100
committerSimon McVittie <smcv@collabora.com>2022-07-19 21:11:09 +0100
commit98eff5513ea8a3523c05a93abd28d64a89e6fb80 (patch)
tree3b7b8835ab5e445e2fb53130fa7ae360e705cf92 /cmake
parent36038fb1263c64a58b439e43a19d9d164d366601 (diff)
downloaddbus-98eff5513ea8a3523c05a93abd28d64a89e6fb80.tar.gz
build: Assume stdint.h is provided
We now require a (mostly-)C99 compiler, meaning we can rely on having Standard C stdint.h. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake1
-rw-r--r--cmake/config.h.cmake3
2 files changed, 0 insertions, 4 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index 3d4e0f2b..6ce85204 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -17,7 +17,6 @@ check_include_file(io.h HAVE_IO_H) # internal
check_include_file(linux/close_range.h HAVE_LINUX_CLOSE_RANGE_H)
check_include_file(locale.h HAVE_LOCALE_H)
check_include_file(signal.h HAVE_SIGNAL_H)
-check_include_file(stdint.h HAVE_STDINT_H) # dbus-pipe.h
check_include_file(stdio.h HAVE_STDIO_H) # dbus-sysdeps.h
check_include_file(syslog.h HAVE_SYSLOG_H)
check_include_files("stdint.h;sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 88992149..b8d98fb2 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -114,9 +114,6 @@
/* Define to 1 if you have signal.h */
#cmakedefine HAVE_SIGNAL_H 1
-/* Define to 1 if you have stdint.h */
-#cmakedefine HAVE_STDINT_H 1
-
/* Define to 1 if you have stdio.h */
#cmakedefine HAVE_STDIO_H 1