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:
parent
5476026119
commit
1220cf605b
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue