From b019950eafd0ca513cb8e873331efda5db8d83c9 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 24 Sep 2020 13:34:46 +0200 Subject: [PATCH] shared: include "stdint.h" in our base headers While we often use and prefer the glib typedefs (like guint32), there are places where we want to use the fixed width integer types from C99. In particular, next we will introduce typedefs like nm_le64_t for integers in different endianness. Also, here we are about "nm-std-aux", so the glib typedefs are not available. I feel a header like is such a basic C requirement, that is should just be available to us everywhere. --- shared/nm-std-aux/nm-std-aux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/nm-std-aux/nm-std-aux.h b/shared/nm-std-aux/nm-std-aux.h index 98ccf53503..374d91f2c2 100644 --- a/shared/nm-std-aux/nm-std-aux.h +++ b/shared/nm-std-aux/nm-std-aux.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include