Skip to content

Commit

Permalink
Add <linux/types.h> header to lxcbtrfs.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Brauner committed Dec 28, 2015
1 parent e0d0f93 commit fc58bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/bdev/lxcbtrfs.h
Expand Up @@ -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;
Expand Down

0 comments on commit fc58bf2

Please sign in to comment.