2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 13:02:02 +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:
Christian Brauner 2015-12-21 11:38:30 +01:00 committed by Serge Hallyn
parent 3188197d24
commit c40c5fdf54

View File

@ -25,9 +25,9 @@
#define __LXC_BTRFS_H
#define _GNU_SOURCE
#include <linux/types.h> /* __le64, __l32 ... */
#include <stdbool.h>
#include <stdint.h>
#include <sys/prctl.h>
typedef uint8_t u8;
typedef uint16_t u16;