mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
util: Include stdint.h because of uint32_t
Some files are using uint32_t or int64_t without including stdint.h which defines them. Fix this.
This commit is contained in:
parent
1f7aa0ac56
commit
8973190735
@ -13,6 +13,8 @@
|
||||
#ifndef __VIR_HASH_H__
|
||||
# define __VIR_HASH_H__
|
||||
|
||||
# include <stdint.h>
|
||||
|
||||
/*
|
||||
* The hash table.
|
||||
*/
|
||||
|
@ -29,6 +29,7 @@
|
||||
# define __VIR_HASH_CODE_H__
|
||||
|
||||
# include "internal.h"
|
||||
# include <stdint.h>
|
||||
|
||||
extern uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed);
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
# define __VIR_RANDOM_H__
|
||||
|
||||
# include "internal.h"
|
||||
# include <stdint.h>
|
||||
|
||||
int virRandomInitialize(uint32_t seed) ATTRIBUTE_RETURN_CHECK;
|
||||
uint64_t virRandomBits(int nbits);
|
||||
|
Loading…
Reference in New Issue
Block a user