]>
Commit | Line | Data |
---|---|---|
8135f733 JB |
1 | --- ppp-2.4.5/pppd/sys-linux.c.orig 2009-11-16 23:26:07.000000000 +0100 |
2 | +++ ppp-2.4.5/pppd/sys-linux.c 2010-08-22 09:02:24.710822457 +0200 | |
3 | @@ -118,6 +118,9 @@ | |
4 | #include <netinet/in.h> | |
5 | #include <arpa/inet.h> | |
6 | ||
7 | +#ifndef aligned_u64 | |
8 | +#define aligned_u64 unsigned long long __attribute__((aligned(8))) | |
9 | +#endif | |
10 | #include <linux/ppp_defs.h> | |
11 | #include <linux/if_ppp.h> | |
12 | ||
13 | --- ppp-2.4.5/pppstats/pppstats.c.orig 2009-11-16 23:26:07.000000000 +0100 | |
14 | +++ ppp-2.4.5/pppstats/pppstats.c 2010-08-22 09:08:00.826816591 +0200 | |
15 | @@ -72,6 +72,9 @@ | |
16 | #include <linux/types.h> | |
17 | #include <linux/if.h> | |
18 | #endif | |
19 | +#ifndef aligned_u64 | |
20 | +#define aligned_u64 unsigned long long __attribute__((aligned(8))) | |
21 | +#endif | |
22 | #include <linux/ppp_defs.h> | |
23 | #include <linux/if_ppp.h> | |
24 | #endif /* __linux__ */ |