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:
parent
188cad2329
commit
b70777f38a
|
@ -1,6 +1,8 @@
|
|||
/*
|
||||
* Obsolete, useless code
|
||||
*/
|
||||
#include <stddef.h>
|
||||
#include "config.h"
|
||||
#include "Imlib2.h"
|
||||
|
||||
EAPI void
|
||||
|
|
Loading…
Reference in New Issue