--- a/fibmap.c +++ b/fibmap.c @@ -17,6 +17,9 @@ #include #include #include +#ifndef __SANE_USERSPACE_TYPES__ +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ +#endif #include #include --- a/fwdownload.c +++ b/fwdownload.c @@ -14,6 +14,9 @@ #include #include #include +#ifndef __SANE_USERSPACE_TYPES__ +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ +#endif #include #include #include --- a/hdparm.c +++ b/hdparm.c @@ -24,6 +24,9 @@ #include #include #include +#ifndef __SANE_USERSPACE_TYPES__ +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ +#endif #include #ifndef FSCONFIG_SET_FLAG #include --- a/identify.c +++ b/identify.c @@ -4,6 +4,9 @@ #include #include #include +#ifndef __SANE_USERSPACE_TYPES__ +#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */ +#endif #include #include