summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-09-20 10:41:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-09-20 10:41:45 +0000
commitd8f946d533bfaec8001cbcfc3bbd4edcbb41a987 (patch)
tree0f2bf416db0371e712e81f8fd1cd0792077844c2 /openwrt
parente8e0fa8cc976b891e54a49055ecbb62f777cb312 (diff)
downloadmtk-20170518-d8f946d533bfaec8001cbcfc3bbd4edcbb41a987.zip
mtk-20170518-d8f946d533bfaec8001cbcfc3bbd4edcbb41a987.tar.gz
mtk-20170518-d8f946d533bfaec8001cbcfc3bbd4edcbb41a987.tar.bz2
Fix amd64 compilation, does not break other architectures : ppc, x86
SVN-Revision: 4804
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch b/openwrt/package/linux-atm/patches/400-stdint_local_instead_of_host.patch
new file mode 100644
index 0000000..5e9b3b6
--- /dev/null
+++ b/openwrt/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 */
++