Skip to content

Commit

Permalink
xkbcomp: Fix parser headers
Browse files Browse the repository at this point in the history
  • Loading branch information
wismill committed Feb 12, 2025
1 parent 89f69f3 commit d00d864
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/xkbcomp/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@
* in both!
*/

/* The following goes in the header */
%code requires {
#include "config.h"

#include "scanner-utils.h"
#include "xkbcomp/ast.h"
}

%{
#include "config.h"

#include "keysym.h"
#include "xkbcomp/xkbcomp-priv.h"
#include "xkbcomp/ast-build.h"
#include "xkbcomp/parser-priv.h"
#include "keysym.h"
#include "xkbcomp/ast-build.h"

struct parser_param {
struct xkb_context *ctx;
Expand Down

0 comments on commit d00d864

Please sign in to comment.