use math.h for ceilf - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c5ba9c025b7ebc34979e839453528f6e4a18712d
DIR parent b81888ee7d95d9ecb7b1749630b09a96065a8fea
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
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(-)
---
DIR 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);