freebsd-ports/sysutils/multitail/files/extra-patch-config.c
Oliver Braun ef8c94bbd0 * Upgrade to 4.0.3.
* Remove USE_REINPLACE (1)
* Fix Build on 4.x. (1)

PR:		ports/95986 (1)
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (1)
2006-04-30 16:30:08 +00:00

10 lines
328 B
C

--- config.c.orig Tue Apr 18 15:54:34 2006
+++ config.c Sun Apr 30 18:19:00 2006
@@ -40,6 +40,7 @@
long long int kb_str_to_value(char *field, char *str)
{
char *mult;
+ #define atoll(a) strtoll((a), (char **)NULL, 10)
long long int bytes = atoll(str);
if (bytes < -1)
error_exit("%s: value cannot be < -1\n", field);