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 <stdint.h> is such a basic C requirement, that
is should just be available to us everywhere.
This commit is contained in:
Thomas Haller 2020-09-24 13:34:46 +02:00
parent d9ca728005
commit b019950eaf
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -6,6 +6,7 @@
#include <assert.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>