diff -Nru gentoo-headers-base-2.6.23_orig/include/linux/if_ppp.h gentoo-headers-base-2.6.23/include/linux/if_ppp.h --- gentoo-headers-base-2.6.23_orig/include/linux/if_ppp.h 2008-01-05 18:02:20.000000000 +0300 +++ gentoo-headers-base-2.6.23/include/linux/if_ppp.h 2008-01-05 18:03:43.000000000 +0300 @@ -113,6 +113,10 @@ struct ppp_comp_stats stats; }; +#ifdef __KERNEL_STRICT_NAMES +#define aligned_u64 unsigned long long __attribute__((aligned(8))) +#endif + /* For PPPIOCGL2TPSTATS */ struct pppol2tp_ioc_stats { __u16 tunnel_id; /* redundant */ diff -Nru gentoo-headers-base-2.6.23_orig/include/linux/if_pppol2tp.h gentoo-headers-base-2.6.23/include/linux/if_pppol2tp.h --- gentoo-headers-base-2.6.23_orig/include/linux/if_pppol2tp.h 2008-01-05 18:02:20.000000000 +0300 +++ gentoo-headers-base-2.6.23/include/linux/if_pppol2tp.h 2008-01-05 18:06:40.000000000 +0300 @@ -19,8 +19,11 @@ #ifdef __KERNEL__ #include +#else +#include #endif + /* Structure used to connect() the socket to a particular tunnel UDP * socket. */