Skip to content

Commit b2e1433

Browse files
committed
Fix portable stat declarations for worktree detection
Signed-off-by: Nohj <vitalnohj@gmail.com>
1 parent 3f6969a commit b2e1433

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/git/git_context.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <stdio.h>
1111
#include <stdlib.h>
1212
#include <string.h>
13+
#include <sys/stat.h>
1314

1415
enum {
1516
GIT_CMD_MAX = 1024,

0 commit comments

Comments
 (0)