mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
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:
@@ -27,8 +27,8 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
#define BLOCK_SIZE 1024
|
|
||||||
#define BLOCK_SIZE_BITS 10
|
#define BLOCK_SIZE_BITS 10
|
||||||
|
#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
|
||||||
|
|
||||||
|
|
||||||
/* These are the fs-independent mount-flags: up to 16 flags are
|
/* These are the fs-independent mount-flags: up to 16 flags are
|
||||||
|
Reference in New Issue
Block a user