kwo pushed a commit to branch master. http://git.enlightenment.org/legacy/imlib2.git/commit/?id=b70777f38af177772740b600fcec3f9a113949c4
commit b70777f38af177772740b600fcec3f9a113949c4 Author: Tobias Stoeckmann <tob...@stoeckmann.org> Date: Wed Mar 2 21:52:17 2022 +0100 imlib2: allow compilation without x headers Although configure can be called to ignore x headers, eventually the compilation of api_obsolete.c fails because the configuration results in config.h are not evaluated. For successful compilation with `./configure --without-x` and adding config.h I also needed stddef.h, which is added as well. --- src/lib/api_obsolete.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/api_obsolete.c b/src/lib/api_obsolete.c index 67b50e8..5215bef 100644 --- a/src/lib/api_obsolete.c +++ b/src/lib/api_obsolete.c @@ -1,6 +1,8 @@ /* * Obsolete, useless code */ +#include <stddef.h> +#include "config.h" #include "Imlib2.h" EAPI void --