summaryrefslogtreecommitdiff
path: root/archivers/fileroller/files/patch-src_file-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/fileroller/files/patch-src_file-utils.h')
-rw-r--r--archivers/fileroller/files/patch-src_file-utils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/archivers/fileroller/files/patch-src_file-utils.h b/archivers/fileroller/files/patch-src_file-utils.h
new file mode 100644
index 000000000000..d3223290fe1c
--- /dev/null
+++ b/archivers/fileroller/files/patch-src_file-utils.h
@@ -0,0 +1,16 @@
+--- src/file-utils.h.orig Sun Jul 3 19:11:59 2005
++++ src/file-utils.h Sun Jul 3 19:12:52 2005
+@@ -25,8 +25,13 @@
+
+ #include <sys/types.h>
+ #include <time.h>
++#include <stdlib.h>
++#include <limits.h>
+ #include <libgnomevfs/gnome-vfs-file-size.h>
+ #include <libgnomevfs/gnome-vfs-mime-handlers.h>
++
++#undef fr_atoll
++#define fr_atoll(nptr) strtoll(nptr, (char **)NULL, 10)
+
+
+ #define FILENAME_MAX_LENGTH 30 /* FIXME: find out the best value */