1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00

Fix the xft build

* src/xsettings.h [!HAVE_PGTK]: Include dispextern.h and remove
duplicate definition of Display_Info.
This commit is contained in:
Po Lu 2022-01-16 19:45:54 +08:00
parent 5476026119
commit 1220cf605b

View file

@ -21,15 +21,14 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#define XSETTINGS_H
#ifndef HAVE_PGTK
#include "dispextern.h"
#include <X11/Xlib.h>
#endif
struct x_display_info;
struct pgtk_display_info;
#ifndef HAVE_PGTK
typedef struct x_display_info Display_Info;
#else
#ifdef HAVE_PGTK
typedef struct pgtk_display_info Display_Info;
#endif