Fix amd64 compilation, does not break other architectures : ppc, x86
[openwrt/openwrt.git] / openwrt / package / linux-atm / patches / 400-stdint_local_instead_of_host.patch
1 Index: package/linux-atm/patches/400-stdint-local-instead-of-host.patch
2 ===================================================================
3 --- package/linux-atm/patches/400-stdint-local-instead-of-host.patch    (revision 0)
4 +++ package/linux-atm/patches/400-stdint-local-instead-of-host.patch    (revision 0)
5 @@ -0,0 +1,15 @@
6 +--- linux-atm-2.4.1/src/include/stdint.h       2001-09-03 20:41:06.000000000 +0200
7 ++++ linux-atm-2.4.1/src/include/stdint.h.my    2006-08-26 22:08:41.000000000 +0200
8 +@@ -4,11 +4,7 @@
9 +
10 + #include <features.h>
11 +
12 +-#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
13 +-
14 +-#include "/usr/include/stdint.h"
15 +-
16 +-#elif __GLIBC__ >= 2
17 ++#if __GLIBC__ >= 2
18 +
19 + /* Works for i386 and Alpha */
20 +