tuse math.h for ceilf - st - [fork] customized build of st, the simple terminal | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c5ba9c025b7ebc34979e839453528f6e4a18712d | |
parent b81888ee7d95d9ecb7b1749630b09a96065a8fea | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Fri, 9 Mar 2018 15:36:38 +0100 | |
use math.h for ceilf | |
Diffstat: | |
M x.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/x.c b/x.c | |
t@@ -1,5 +1,6 @@ | |
/* See LICENSE for license details. */ | |
#include <errno.h> | |
+#include <math.h> | |
#include <limits.h> | |
#include <locale.h> | |
#include <signal.h> | |
t@@ -901,7 +902,6 @@ xloadfonts(char *fontstr, double fontsize) | |
{ | |
FcPattern *pattern; | |
double fontval; | |
- float ceilf(float); | |
if (fontstr[0] == '-') { | |
pattern = XftXlfdParse(fontstr, False, False); |