mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 07:00:09 +01:00
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:
parent
d9ca728005
commit
b019950eaf
1 changed files with 1 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue