]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix PGTK build with xwidgets
authorPo Lu <luangruo@yahoo.com>
Sat, 22 Jan 2022 12:28:22 +0000 (20:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 22 Jan 2022 12:28:22 +0000 (20:28 +0800)
* src/xwidget.c: Swap some preprocessor definitions around.
Reported by IƱigo Serna <inigoserna@gmail.com>.

src/xwidget.c

index fb66a17acd88df579e274a72c52847bcdfad165c..822bed034945497fbcecbdbe613f305b5d5d0679 100644 (file)
@@ -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>