1 --- a/libhandle/handle.c
2 +++ b/libhandle/handle.c
5 #include <xfs/handle.h>
6 #include <xfs/parent.h>
7 +#include <linux/limits.h>
9 /* just pick a value we know is more than big enough */
14 #include <xfs/handle.h>
16 #include <xfs/parent.h>
17 +#include <linux/limits.h>
19 /* internal fshandle - typecast to a void for external use */
25 #include <sys/ioctl.h>
26 #include <sys/sysmacros.h>
27 +#include <sys/stat.h>
28 #include <disk/volume.h>
34 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 +#include <sys/types.h>
39 #define EVMS_MAJOR 117
40 #define EVMS_GET_VOL_STRIPE_INFO \
41 _IOR(EVMS_MAJOR, 0xF0, struct evms_vol_stripe_info_s)
42 --- a/libdisk/fstype.h
43 +++ b/libdisk/fstype.h
44 @@ -192,7 +192,7 @@ struct adfs_super_block {
48 -#define adfsblksize(s) ((uint) s.s_blksize[0])
49 +#define adfsblksize(s) ((unsigned int) s.s_blksize[0])
51 /* found in first 4 bytes of block 1 */
52 struct vxfs_super_block {
56 #include <xfs/xfs_dinode.h>
57 #include <xfs/xfs_attr_sf.h>
68 #include <sys/ioctl.h>
69 +#include <sys/types.h>
70 #include <disk/volume.h>