diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-09 15:36:38 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2018-03-09 15:36:38 +0100 |
commit | c5ba9c025b7ebc34979e839453528f6e4a18712d (patch) | |
tree | 3333fb009b739545dcb0af03f87b9352dac906bc | |
parent | b81888ee7d95d9ecb7b1749630b09a96065a8fea (diff) | |
download | st-c5ba9c025b7ebc34979e839453528f6e4a18712d.tar.gz st-c5ba9c025b7ebc34979e839453528f6e4a18712d.tar.bz2 |
use math.h for ceilf
-rw-r--r-- | x.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |