mirror of
git://github.com/lxc/lxc
synced 2025-08-31 17:11:05 +00:00
Add <linux/types.h> header to lxcbtrfs.h
Using #include <sys/types.h> is not sufficient to guarantee that __le64 and other types are defined. Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
This commit is contained in:
committed by
Serge Hallyn
parent
3188197d24
commit
c40c5fdf54
@@ -25,9 +25,9 @@
|
|||||||
#define __LXC_BTRFS_H
|
#define __LXC_BTRFS_H
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
#include <linux/types.h> /* __le64, __l32 ... */
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/prctl.h>
|
|
||||||
|
|
||||||
typedef uint8_t u8;
|
typedef uint8_t u8;
|
||||||
typedef uint16_t u16;
|
typedef uint16_t u16;
|
||||||
|
Reference in New Issue
Block a user