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.
This commit is contained in:
Tobias Stoeckmann 2022-03-02 21:52:17 +01:00 committed by Kim Woelders
parent 188cad2329
commit b70777f38a
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
/*
* Obsolete, useless code
*/
#include <stddef.h>
#include "config.h"
#include "Imlib2.h"
EAPI void