]> code.ossystems Code Review - openembedded-core.git/commit
ppp: Add two structures in if_pppol2tp.h
authorLu Chong <Chong.Lu@windriver.com>
Sat, 2 Nov 2013 08:30:28 +0000 (16:30 +0800)
committerSaul Wold <sgw@linux.intel.com>
Mon, 4 Nov 2013 18:01:17 +0000 (10:01 -0800)
commit73d08c4bf12e2cc4f291cb018d00b26a5a573be4
tree777374de6f08f7d196a829216fc83a7ac4f1ab0c
parent168630394b3af47b7a914475865eed17b6a3b1a2
ppp: Add two structures in if_pppol2tp.h

Some further structure definitions are needed in include/linux/if_pppol2tp.h for
IPv6 support, else we would get the error as below:

In file included from plugin.c:53:0:
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:84:26:
error: field 'pppol2tp' has incomplete type
     struct pppol2tpin6_addr pppol2tp;
                   ^
bitbake_build/tmp/sysroots/intel-x86-64/usr/include/linux/if_pppox.h:99:28:
error: field 'pppol2tp' has incomplete type
  struct pppol2tpv3in6_addr pppol2tp;
                     ^
make[2]: *** [plugin.o] Error 1

Signed-off-by: Lu Chong <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-connectivity/ppp/ppp-2.4.5/0001-ppp-Add-two-structures-in-if_pppol2tp.h.patch [new file with mode: 0644]
meta/recipes-connectivity/ppp/ppp_2.4.5.bb