linux: Mimic kernel defition for BLOCK_SIZE
To avoid possible warnings if the kernel header is included before sys/mount.h. Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
parent
1542019b69
commit
c68b6044bc
|
@ -27,8 +27,8 @@
|
|||
#include <stddef.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#define BLOCK_SIZE 1024
|
||||
#define BLOCK_SIZE_BITS 10
|
||||
#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
|
||||
|
||||
|
||||
/* These are the fs-independent mount-flags: up to 16 flags are
|
||||
|
|
Loading…
Reference in a new issue