Add a missing #include . --- 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 #include #include +#include #include "WindowMaker.h" #include "wcore.h"