Commit 2d118be
Fix X11/CEF 'Status' typedef conflict in x11.h on Linux
X11/Xlib.h defines 'Status' (typedef int Status) which conflicts with
CefURLRequest::Status when X11 headers are processed before CEF headers.
Include cef_urlrequest.h and cef_browser.h before the X11/GTK headers in
x11.h so CEF's headers are processed while the namespace is still clean.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ccda5ae commit 2d118be
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
12 | | - | |
13 | | - | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| |||
0 commit comments