st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit c5ba9c025b7ebc34979e839453528f6e4a18712d
parent b81888ee7d95d9ecb7b1749630b09a96065a8fea
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri,  9 Mar 2018 15:36:38 +0100

use math.h for ceilf

Diffstat:
Mx.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x.c b/x.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);