diff --git a/src/lib/update/sail.c b/src/lib/update/sail.c index 0e6efe72..bd0613cc 100644 --- a/src/lib/update/sail.c +++ b/src/lib/update/sail.c @@ -48,6 +48,7 @@ #include "update.h" #include "subs.h" #include "common.h" +#include #include static void fltp_to_list(struct fltheadstr *, struct emp_qelem *); @@ -55,7 +56,7 @@ static void fltp_to_list(struct fltheadstr *, struct emp_qelem *); static void cost_ship(struct shpstr *sp, struct fltelemstr *ep, struct fltheadstr *fp) { - double mobcost, ceil(double); + double mobcost; int howfar; mobcost = 0.0;