summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Pfender <jpfender@elegosoft.com>2011-05-25 16:31:14 +0200
committerJakob Pfender <jpfender@elegosoft.com>2011-06-07 12:54:38 +0200
commitcbf4f9f41f18bdb812fb854cd7fd8c4ce62ed44a (patch)
tree21271335167e0ad3fe0c8d285ac293ad16da26c3 /src
parentc1a2a14e022caae68112497f5e6862f9b59f1260 (diff)
downloadlibgit2-cbf4f9f41f18bdb812fb854cd7fd8c4ce62ed44a.tar.gz
common: Include stat.h in include/git2/common.h instead of src/common.h
00582bcb introduced a change to git_blob_create_fromfile() that required the caller to pass a stat struct. This means that we need to include stat.h higher in the hierarchy of includes.
Diffstat (limited to 'src')
-rw-r--r--src/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index f4f11fd2f..fc444c4d4 100644
--- a/src/common.h
+++ b/src/common.h
@@ -22,7 +22,6 @@
#include <string.h>
#include <sys/types.h>
-#include <sys/stat.h>
#ifdef GIT_WIN32