Le 22/09/2017 à 16:02, Carlo Marcelo Arenas Belón a écrit : > Signed-off-by: Carlo Marcelo Arenas Belón <care...@gmail.com> > --- > linux-user/mips64/sockbits.h | 1 + > linux-user/socket.h | 4 ++-- > linux-user/sparc64/sockbits.h | 1 +
Who includes the two new files? Moreover TARGET_MIPS/TARGET_SPARC (base arch) are always defined when TARGET_MIPS64/TARGET_SPARC64 (target arch) are defined. So I think this patch is useless. Thanks, Laurent > 3 files changed, 4 insertions(+), 2 deletions(-) > create mode 100644 linux-user/mips64/sockbits.h > create mode 100644 linux-user/sparc64/sockbits.h > > diff --git a/linux-user/mips64/sockbits.h b/linux-user/mips64/sockbits.h > new file mode 100644 > index 0000000000..e6b6d31ac9 > --- /dev/null > +++ b/linux-user/mips64/sockbits.h > @@ -0,0 +1 @@ > +#include "../mips/sockbits.h" > diff --git a/linux-user/socket.h b/linux-user/socket.h > index dfa692286b..6fd486c6b1 100644 > --- a/linux-user/socket.h > +++ b/linux-user/socket.h > @@ -1,10 +1,10 @@ > -#if defined(TARGET_MIPS) > +#if defined(TARGET_MIPS) || defined(TARGET_MIPS64) > #include "mips/sockbits.h" > #elif defined(TARGET_ALPHA) > #include "alpha/sockbits.h" > #elif defined(TARGET_HPPA) > #include "hppa/sockbits.h" > -#elif defined(TARGET_SPARC) > +#elif defined(TARGET_SPARC) || defined(TARGET_SPARC64) > #include "sparc/sockbits.h" > #else > > diff --git a/linux-user/sparc64/sockbits.h b/linux-user/sparc64/sockbits.h > new file mode 100644 > index 0000000000..658899e4d3 > --- /dev/null > +++ b/linux-user/sparc64/sockbits.h > @@ -0,0 +1 @@ > +#include "../sparc/sockbits.h" >