mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-19 13:45:16 +00:00
Only #include <sys/stat.h> on macOS
The `<sys/stat.h>` include in `launcher.c` is only used to check if the executable is a symlink on macOS. Therefore it is not needed on other platforms.
This commit is contained in:
parent
7fd1053e0f
commit
1b59761a19
1 changed files with 1 additions and 1 deletions
|
|
@ -15,12 +15,12 @@
|
|||
#ifdef __APPLE__
|
||||
#include <mach-o/dyld.h>
|
||||
#include <sys/syslimits.h>
|
||||
#include <sys/stat.h>
|
||||
#else
|
||||
#include <limits.h>
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#include <wchar.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#define MIN(x, y) ((x) < (y)) ? (x) : (y)
|
||||
#define MAX_ARGC 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue