From: Hiltjo Posthuma Date: Fri, 9 Mar 2018 14:36:38 +0000 (+0100) Subject: use math.h for ceilf X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c5ba9c025b7ebc34979e839453528f6e4a18712d;p=st.git use math.h for ceilf --- diff --git a/x.c b/x.c index 537322b..d43a529 100644 --- a/x.c +++ b/x.c @@ -1,5 +1,6 @@ /* See LICENSE for license details. */ #include +#include #include #include #include @@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize) { FcPattern *pattern; double fontval; - float ceilf(float); if (fontstr[0] == '-') { pattern = XftXlfdParse(fontstr, False, False);