summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authoruint <72694427+uint23@users.noreply.github.com>2025-08-29 13:25:53 +0100
committerGitHub <noreply@github.com>2025-08-29 13:25:53 +0100
commit2987ba5a5356f437232693a2349d254e4daab5eb (patch)
treedcc19dcd95c44bea5347391769ddd203d8de4bb4 /src/parser.c
parent6962146b747e449e7281b6c6acda0a32fb1ff453 (diff)
parent495d9dca7d549c6ab2b3d6173a42f0bcd21feb29 (diff)
Merge pull request #225 from uint23/dev
merge: allow custom layouts + other changes vvv
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/parser.c b/src/parser.c
index 2fc4709..6bfaeeb 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1,16 +1,20 @@
#define _POSIX_C_SOURCE 200809L
#include <ctype.h>
-#include <linux/limits.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#ifdef __linux__
-#include <wordexp.h>
-#endif
+
#include <X11/keysym.h>
#include <X11/XF86keysym.h>
#include <X11/Xlib.h>
+
+#ifdef __linux__
+#include <wordexp.h>
+#include <linux/limits.h>
+#endif
+
#include "parser.h"
#include "defs.h"