Commit Graph

7 Commits

Author SHA1 Message Date
Rosen Penev
bb9cf91795 make_ext4fs: Remove off64_t in favor of standard off_t
This fixes building against cygwin which does not define off64_t. off_t
under modern versions of OS X(or macOS) defaults to 64-bit. Furthermore,
_FILE_OFFSET_BITS is defined to 64-bit which eliminates the need for
using off64_t directly. Also, musl just like OS X defines off_t as 64-bit
in all situations. Also removed some code related to this.

Signed-off by: Rosen Penev <rosenp@gmail.com>
2017-05-09 23:34:18 +02:00
Felix Fietkau
3af931b0b6 Only include sys/sysmacros.h on glibc, it is not portable
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 18:46:32 +01:00
Jo-Philipp Wich
bf98b86a5d Include sys/sysmacros.h explicitely.
Recent glibc versions do not expose major() and minor() without an explicit
include of sysmacros.h anymore, therefor add it.

Also remove duplicate types.h include while we're at it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-25 11:58:47 +02:00
Jo-Philipp Wich
67cbf164c7 Remove unused mountpoint support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
8597212da1 Fix fs configuration support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-08 07:51:39 +02:00
Jo-Philipp Wich
58ace71d8c Remove selinux support code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:42:53 +02:00
Jo-Philipp Wich
fb5c011b49 Import make_ext4fs sources
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-04 22:26:16 +02:00