summaryrefslogtreecommitdiff
path: root/ftp/lftp/files/patch-post-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/lftp/files/patch-post-config.h')
-rw-r--r--ftp/lftp/files/patch-post-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/lftp/files/patch-post-config.h b/ftp/lftp/files/patch-post-config.h
new file mode 100644
index 000000000000..e0aac9451078
--- /dev/null
+++ b/ftp/lftp/files/patch-post-config.h
@@ -0,0 +1,11 @@
+--- include/post-config.h.orig Thu Mar 24 18:41:45 2005
++++ include/post-config.h Mon Apr 18 17:52:16 2005
+@@ -142,4 +142,8 @@
+ # include "trio.h"
+ #endif
+
++#if __FreeBSD__ < 5
++ #define atoll(n) strtoll((n),NULL,10)
++#endif
++
+ #endif /* POST_CONFIG_H */