diff options
| author | Po Lu | 2022-01-22 20:28:22 +0800 |
|---|---|---|
| committer | Po Lu | 2022-01-22 20:28:22 +0800 |
| commit | 15090d7c6fa54cc6598fa02b43404181be826e0b (patch) | |
| tree | 46750a32a737ee9acb50c0364ff57d699b9c9b58 /src | |
| parent | 82f818344e2525d3470266894674188fcb3c2fb5 (diff) | |
| download | emacs-15090d7c6fa54cc6598fa02b43404181be826e0b.tar.gz emacs-15090d7c6fa54cc6598fa02b43404181be826e0b.zip | |
Fix PGTK build with xwidgets
* src/xwidget.c: Swap some preprocessor definitions around.
Reported by IƱigo Serna <inigoserna@gmail.com>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.c b/src/xwidget.c index fb66a17acd8..822bed03494 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/>. */ | |||
| 39 | #include <webkit2/webkit2.h> | 39 | #include <webkit2/webkit2.h> |
| 40 | #include <JavaScriptCore/JavaScript.h> | 40 | #include <JavaScriptCore/JavaScript.h> |
| 41 | #include <cairo.h> | 41 | #include <cairo.h> |
| 42 | #include <cairo-xlib.h> | ||
| 43 | #ifndef HAVE_PGTK | 42 | #ifndef HAVE_PGTK |
| 43 | #include <cairo-xlib.h> | ||
| 44 | #include <X11/Xlib.h> | 44 | #include <X11/Xlib.h> |
| 45 | #else | 45 | #else |
| 46 | #include <gtk/gtk.h> | 46 | #include <gtk/gtk.h> |