aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-03-09 15:36:38 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-09 15:36:38 +0100
commitc5ba9c025b7ebc34979e839453528f6e4a18712d (patch)
tree3333fb009b739545dcb0af03f87b9352dac906bc
parentb81888ee7d95d9ecb7b1749630b09a96065a8fea (diff)
use math.h for ceilf
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
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 <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);