summaryrefslogtreecommitdiff
path: root/include/git2/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/common.h')
-rw-r--r--include/git2/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/common.h b/include/git2/common.h
index 9a27ac2e5..d08935f8c 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -28,6 +28,7 @@
#include "thread-utils.h"
#include <time.h>
#include <stdlib.h>
+#include <sys/stat.h>
#ifdef __cplusplus
# define GIT_BEGIN_DECL extern "C" {