all repos — st @ c5ba9c025b7ebc34979e839453528f6e4a18712d

st (suckless terminal) config

use math.h for ceilf
Hiltjo Posthuma hiltjo@codemadness.org
commit

c5ba9c025b7ebc34979e839453528f6e4a18712d

parent

b81888ee7d95d9ecb7b1749630b09a96065a8fea

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M x.cx.c

@@ -1,5 +1,6 @@

/* See LICENSE for license details. */ #include <errno.h> +#include <math.h> #include <limits.h> #include <locale.h> #include <signal.h>

@@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize)

{ FcPattern *pattern; double fontval; - float ceilf(float); if (fontstr[0] == '-') { pattern = XftXlfdParse(fontstr, False, False);