--- embedaddon/sudo/common/lbuf.c 2013/07/22 10:46:11 1.1.1.4 +++ embedaddon/sudo/common/lbuf.c 2014/06/15 16:12:54 1.1.1.6 @@ -44,7 +44,7 @@ #include "missing.h" #include "alloc.h" -#include "error.h" +#include "fatal.h" #include "lbuf.h" #include "sudo_debug.h" @@ -77,7 +77,7 @@ lbuf_destroy(struct lbuf *lbuf) } static void -lbuf_expand(struct lbuf *lbuf, size_t extra) +lbuf_expand(struct lbuf *lbuf, int extra) { if (lbuf->len + extra + 1 >= lbuf->size) { do {