aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2022-10-28 23:08:36 +0200
committerStefan Kangas2022-10-28 23:09:49 +0200
commit69121c33e4a11805bf6438131c8aec72411a0e5d (patch)
treebd80499b732c5cd8cb0d123779676d37566cc593 /src
parent61226605f6bfe5d0a4d9d63bda7f0eae634d9ec8 (diff)
downloademacs-69121c33e4a11805bf6438131c8aec72411a0e5d.tar.gz
emacs-69121c33e4a11805bf6438131c8aec72411a0e5d.zip
Fix warning in xsettings.c
* src/xsettings.c [USE_CAIRO]: Include cairo-ft.h. Thanks to Vincent Bernat <bernat@luffy.cx>.
Diffstat (limited to 'src')
-rw-r--r--src/xsettings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xsettings.c b/src/xsettings.c
index deacddcfde9..c4c70ad8460 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -57,6 +57,7 @@ typedef unsigned int CARD32;
57#if defined USE_CAIRO || defined HAVE_XFT 57#if defined USE_CAIRO || defined HAVE_XFT
58#ifdef USE_CAIRO 58#ifdef USE_CAIRO
59#include <fontconfig/fontconfig.h> 59#include <fontconfig/fontconfig.h>
60#include <cairo-ft.h>
60#else /* HAVE_XFT */ 61#else /* HAVE_XFT */
61#include <X11/Xft/Xft.h> 62#include <X11/Xft/Xft.h>
62#endif 63#endif