blob: 8c83d4da2c5c1681463eac4710f52085e43831b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Add a missing #include <math.h>.
--- WindowMaker-0.92.0/configure.ac
+++ WindowMaker-0.92.0/configure.ac
@@ -78,7 +78,8 @@
[ --with-incs-from pass compiler flags to look for header files],
[inc_search_path="$withval $inc_search_path"])
-
+AC_CHECK_LIBM
+AC_SUBST([LIBM])
dnl Checks for library functions.
dnl ============================
--- WindowMaker-0.92.0/src/placement.c
+++ WindowMaker-0.92.0/src/placement.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <string.h>
#include <limits.h>
+#include <math.h>
#include "WindowMaker.h"
#include "wcore.h"
|