Avoid including timex.h (#1033)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 10 Dec 2006 10:56:56 +0000 (10:56 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 10 Dec 2006 10:56:56 +0000 (10:56 +0000)
SVN-Revision: 5747

libs/matrixssl/patches/matrixssl-no-timex.patch [new file with mode: 0644]

diff --git a/libs/matrixssl/patches/matrixssl-no-timex.patch b/libs/matrixssl/patches/matrixssl-no-timex.patch
new file mode 100644 (file)
index 0000000..2523de2
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urN matrixssl/src/os/linux/linux.c matrixssl.new/src/os/linux/linux.c
+--- matrixssl/src/os/linux/linux.c     2005-02-23 22:43:10.000000000 +0100
++++ matrixssl.new/src/os/linux/linux.c 2006-12-10 11:45:54.000000000 +0100
+@@ -40,7 +40,7 @@
+ #include "../osLayer.h"
+ #if defined(__i386__) || defined(RDTSC)
+-#include <asm/timex.h>
++//#include <asm/timex.h>
+ /*
+       As defined in asm/timex.h for x386:
+ */