diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-09-20 10:41:45 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-09-20 10:41:45 +0000 |
commit | 23a99f4aedb2a8ee26564de5cfacb95de8d0c074 (patch) | |
tree | a9f30025e8419d988f9fde37132f6e3f7668321a | |
parent | 700a787e733331163ddda6265ae139a7da217420 (diff) | |
download | upstream-23a99f4aedb2a8ee26564de5cfacb95de8d0c074.tar.gz upstream-23a99f4aedb2a8ee26564de5cfacb95de8d0c074.tar.bz2 upstream-23a99f4aedb2a8ee26564de5cfacb95de8d0c074.zip |
Fix amd64 compilation, does not break other architectures : ppc, x86
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4804 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/linux-atm/patches/400-stdint_local_instead_of_host.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/linux-atm/patches/400-stdint_local_instead_of_host.patch b/package/linux-atm/patches/400-stdint_local_instead_of_host.patch new file mode 100644 index 0000000000..5e9b3b65e3 --- /dev/null +++ b/package/linux-atm/patches/400-stdint_local_instead_of_host.patch @@ -0,0 +1,20 @@ +Index: package/linux-atm/patches/400-stdint-local-instead-of-host.patch +=================================================================== +--- package/linux-atm/patches/400-stdint-local-instead-of-host.patch (revision 0) ++++ package/linux-atm/patches/400-stdint-local-instead-of-host.patch (revision 0) +@@ -0,0 +1,15 @@ ++--- linux-atm-2.4.1/src/include/stdint.h 2001-09-03 20:41:06.000000000 +0200 +++++ linux-atm-2.4.1/src/include/stdint.h.my 2006-08-26 22:08:41.000000000 +0200 ++@@ -4,11 +4,7 @@ ++ ++ #include <features.h> ++ ++-#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 ++- ++-#include "/usr/include/stdint.h" ++- ++-#elif __GLIBC__ >= 2 +++#if __GLIBC__ >= 2 ++ ++ /* Works for i386 and Alpha */ ++ |