[PATCH] configure.ac: explicitely check stdint.h

Ioan-Adrian Ratiu adrian.ratiu at ni.com
Thu Jul 28 22:19:37 UTC 2016


Otherwise HAVE_STDINT_H will not be defined or the var will not be
picked up from cache so builds could fail with errors like:
| ../../dbus-1.10.8/dbus/dbus-internals.h:239:8: error: ‘uintptr_t’ undeclared (first use in this function)

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 1d08030..448852f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -660,6 +660,8 @@ AC_CHECK_HEADERS(byteswap.h)
 
 AC_CHECK_HEADERS(unistd.h)
 
+AC_CHECK_HEADERS(stdint.h)
+
 AC_CHECK_HEADERS(ws2tcpip.h)
 
 AC_CHECK_HEADERS(alloca.h)
-- 
2.9.0



More information about the dbus mailing list