]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r307927
authorbenno <benno@FreeBSD.org>
Wed, 25 Apr 2018 01:35:06 +0000 (01:35 +0000)
committerbenno <benno@FreeBSD.org>
Wed, 25 Apr 2018 01:35:06 +0000 (01:35 +0000)
commitf0b95adef4bb69f0417b511389c3f8a854f9702d
tree808e517b56516dfc8f788746e6df4f8dc1902ac5
parent54d2cd1e8c480d6d6240cd79e15a96723a8c7d9b
MFC r307927

 Be more precise when including headers so that we're less likely to
 depend on namespace pollution and as such become more portable. This
 means including headers like <sys/types.h> or <stdlib.h>, but also
 making sure we include system/host headers before local headers.

 While here: define ENOATTR as ENOMSG in mtree.c. There is no ENOATTR
 on Linux.

 With this, makefs is ready for compilation on macOS and Linux.

Sponsored by: iXsystems, Inc.
usr.sbin/makefs/cd9660.c
usr.sbin/makefs/cd9660/cd9660_archimedes.c
usr.sbin/makefs/cd9660/iso9660_rrip.c
usr.sbin/makefs/ffs/ffs_bswap.c
usr.sbin/makefs/ffs/ffs_subr.c
usr.sbin/makefs/mtree.c
usr.sbin/makefs/walk.c