aboutsummarylogtreecommitdiffstats
path: root/x.c
diff options
context:
space:
mode:
authorHiltjo Posthuma2018-03-09 15:36:38 +0100
committerHiltjo Posthuma2018-03-09 15:36:38 +0100
commita7057f2d09e704a1620c569548357194d83d09ff (patch)
tree851bcb8706c24a9d880ff5cf13a25f243ae103e8 /x.c
parentebdd6ebbf7e543e2008dbc2cab20a6a4404079b0 (diff)
downloadaur-a7057f2d09e704a1620c569548357194d83d09ff.tar.gz
use math.h for ceilf
Diffstat (limited to 'x.c')
-rw-r--r--x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x.c b/x.c
index 537322bf872e..d43a52947aa6 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);