I actually forgot to look at the patch. Dear diary, on Wed, Jan 18, 2006 at 02:47:00PM CET, I got a letter where Alex Riesen <raa.lkml@gmail.com> said that... > Makefile | 2 +- > daemon.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > 59379c380a6c2829c5614aadd4a5492abb8d14c8 > diff --git a/Makefile b/Makefile > index f6d9e0a..5782e2a 100644 > --- a/Makefile > +++ b/Makefile > @@ -342,7 +342,7 @@ ifdef NO_MMAP > COMPAT_OBJS += compat/mmap.o > endif > ifdef NO_IPV6 > - ALL_CFLAGS += -DNO_IPV6 -Dsockaddr_storage=sockaddr_in > + ALL_CFLAGS += -DNO_IPV6 -Dsockaddr_stg_git=sockaddr_in +else + ALL_CFLAGS += -Dsockaddr_stg_git=sockaddr_storage > endif > > ifdef PPC_SHA1 But of course when this goes on, soon the gcc commandline will get really awfully ugly. This is why something _like_ autoconf is a good thing - you can just detect if the system headers provide the type and #define it only when they don't. Of course, inserting the #define to some .h file might work; I'm not sure if any of the relevant socket routines is permitted to be a macro which could expand to something - but even then, it's probably not very likely that it would break stuff in practice. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Of the 3 great composers Mozart tells us what it's like to be human, Beethoven tells us what it's like to be Beethoven and Bach tells us what it's like to be the universe. -- Douglas Adams - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Jan 19 23:59:23 2006
This archive was generated by hypermail 2.1.8 : 2006-01-19 23:59:32 EST