summaryrefslogtreecommitdiffstats
path: root/openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch')
-rw-r--r--openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch b/openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch
new file mode 100644
index 000000000..4393e3146
--- /dev/null
+++ b/openwrt/package/elinks/patches/01-missing_decl_for_off_t.patch
@@ -0,0 +1,11 @@
+diff -ruN elinks-0.11.1-old/src/util/time.h elinks-0.11.1-new/src/util/time.h
+--- elinks-0.11.1-old/src/util/time.h 2006-01-29 14:10:39.000000000 +0100
++++ elinks-0.11.1-new/src/util/time.h 2006-03-27 23:09:08.000000000 +0200
+@@ -1,6 +1,7 @@
+ #ifndef EL__UTIL_TIME_H
+ #define EL__UTIL_TIME_H
+
++#include <sys/types.h>
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+ #endif