[prev in list] [next in list] [prev in thread] [next in thread]
List: strongswan-users
Subject: [strongSwan] [PATCH] include fix for 2.8.X
From: andreas.steffen () strongswan ! org (Andreas Steffen)
Date: 2007-01-18 21:54:33
Message-ID: 45AFEC99.5090003 () strongswan ! org
[Download RAW message or body]
Thanks Tommi,
I checked the patch into the CVS and of course it will be in 2.8.2.
In 4.0.6 it was already fixed.
Best regards
Andreas
Tommi Kyntola wrote:
> offsetof() is in plain old stddef.h and the linux/stddef.h no longer
> defines that, not since when a patch by David Woodhouse
> (http://lkml.org/lkml/2006/10/11/308)
> got into kernel mainline.
>
> The patch below fixes it for fc6 where the compile fails,
> but also works on some other distributions that I tried
> (e.g. RHEL4, which atleast is probably of interest here).
>
> An identical patch was posted here earlier, but looks like it
> never got to 2.8.1.
>
>
> diff -Naur strongswan-2.8.1-vanilla/programs/starter/starterwhack.c \
> strongswan-2.8.1-incfix/programs/starter/starterwhack.c
> --- strongswan-2.8.1-vanilla/programs/starter/starterwhack.c 2006-10-19 \
> 18:02:46.000000000 +0300
> +++ strongswan-2.8.1-incfix/programs/starter/starterwhack.c 2007-01-18 \
> 09:57:07.000000000 +0200 @@ -17,7 +17,7 @@
> #include <sys/types.h>
> #include <sys/socket.h>
> #include <sys/un.h>
> -#include <linux/stddef.h>
> +#include <stddef.h>
> #include <unistd.h>
> #include <errno.h>
> _______________________________________________
> Users mailing list
> Users at lists.strongswan.org
> https://lists.strongswan.org/mailman/listinfo/users
--
======================================================================
Andreas Steffen andreas.steffen at strongswan.org
strongSwan - the Linux VPN Solution! www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic