1
0
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:
Michal Privoznik 2012-01-26 19:14:01 +01:00
parent 1f7aa0ac56
commit 8973190735
3 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,8 @@
#ifndef __VIR_HASH_H__
# define __VIR_HASH_H__
# include <stdint.h>
/*
* The hash table.
*/

View File

@ -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);

View File

@ -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);