On Fri, 2016-03-04 at 16:42 -0800, David Decotigny wrote:
[...]
> --- a/internal.h
> +++ b/internal.h
> @@ -3,6 +3,13 @@
>  #ifndef ETHTOOL_INTERNAL_H__
>  #define ETHTOOL_INTERNAL_H__
>  
> +#ifdef __powerpc64__
> +/* Powerpc needs __SANE_USERSPACE_TYPES__ before  to select
> + * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
> + */
> +#define __SANE_USERSPACE_TYPES__
> +#endif

This is also true for several other architectures so let's define this
unconditionally.

Ben.

>  #ifdef HAVE_CONFIG_H
>  #include "ethtool-config.h"
>  #endif
-- 
Ben Hutchings
The most exhausting thing in life is being insincere. - Anne Morrow Lindberg

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to