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>
This commit is contained in:
Simon McVittie 2022-07-19 20:44:58 +01:00
parent 36038fb126
commit 98eff5513e
7 changed files with 0 additions and 12 deletions

View file

@ -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)

View file

@ -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

View file

@ -419,7 +419,6 @@ errno.h
linux/close_range.h
locale.h
signal.h
stdint.h
sys/prctl.h
sys/random.h
sys/resource.h

View file

@ -24,9 +24,7 @@
#ifndef DBUS_HASH_H
#define DBUS_HASH_H
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>

View file

@ -25,9 +25,7 @@
#ifndef DBUS_PIPE_H
#define DBUS_PIPE_H
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>

View file

@ -30,9 +30,7 @@
#include "config.h"
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>

View file

@ -617,7 +617,6 @@ check_headers = [
'linux/close_range.h',
'locale.h',
'signal.h',
'stdint.h',
'syslog.h',
'sys/prctl.h',
'sys/random.h',