emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 15090d7c6f: Fix PGTK build with xwidgets


From: Po Lu
Subject: master 15090d7c6f: Fix PGTK build with xwidgets
Date: Sat, 22 Jan 2022 07:29:35 -0500 (EST)

branch: master
commit 15090d7c6fa54cc6598fa02b43404181be826e0b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix PGTK build with xwidgets
    
    * src/xwidget.c: Swap some preprocessor definitions around.
    Reported by IƱigo Serna <inigoserna@gmail.com>.
---
 src/xwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xwidget.c b/src/xwidget.c
index fb66a17acd..822bed0349 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -39,8 +39,8 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
 #include <webkit2/webkit2.h>
 #include <JavaScriptCore/JavaScript.h>
 #include <cairo.h>
-#include <cairo-xlib.h>
 #ifndef HAVE_PGTK
+#include <cairo-xlib.h>
 #include <X11/Xlib.h>
 #else
 #include <gtk/gtk.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]