[Openswan dev] Re: [Openswan CVS] openswan-2/linux/net/ipsec addrtot.c,1.16,1.17

CaT cat at zip.com.au
Sun Sep 19 10:53:19 CEST 2004

On Sat, Sep 18, 2004 at 03:23:30PM -0400, Michael Richardson wrote:
>     >> before, or why this shows up for modules only.
>     >> 
>     >> +#if defined(__KERNEL__) && !defined(KERNEL_HAS_STRSTR)
>     CaT> If I understand this right, openswan only wants to define its
>     CaT> strstr if the kernel it's being compiled for doesn't have one
>     CaT> already supplied. If so then __HAVE_ARCH_STRSTR would be the
>     CaT> appropriate thing to check for rather then KERNEL_HAS_STRSTR,
>     CaT> no?
>   Thanks. I appreciate knowing about that symbol.
>   I didn't know about it.
>   Where is it defined?

In include/asm-i386/string.h for example. Not all arches have it 
defined but a few do.

With the change btw, the kernel compiled.

    Red herrings strewn hither and yon.

More information about the Dev mailing list