add further #if defined(HAS_LIBJPEG) in xschem.h

This commit is contained in:
stefan schippers 2024-03-15 14:30:52 +01:00
parent d30715bc2c
commit f7287f0c6c
1 changed files with 2 additions and 0 deletions

View File

@ -120,7 +120,9 @@ extern char win_temp_dir[PATH_MAX];
/* #define FIX_BROKEN_TILED_FILL 1 */
#include <cairo.h>
#if defined(HAS_LIBJPEG)
#include "cairo_jpg.h"
#endif
#ifdef __unix__
#include <cairo-xlib.h>
#include "cairo-xlib-xrender.h"