summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Olivier Latour <pol@mac.com>2015-01-23 16:04:23 -0800
committerPierre-Olivier Latour <pol@mac.com>2015-01-23 16:04:23 -0800
commit86815dca20604147f81618e54032dc194653a668 (patch)
tree673eccb670459cb4b40452733c03abefc805f0c3
parenta789b361004da746b02919631a333170dfe20819 (diff)
downloadlibgit2-86815dca20604147f81618e54032dc194653a668.tar.gz
Make sure sys/repository.h includes the required headers
It was missing "common.h" and "types.h" like other system headers. This generated compilation errors if including it directly.
-rw-r--r--include/git2/sys/repository.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/sys/repository.h b/include/git2/sys/repository.h
index dd7b22e06..082a844b8 100644
--- a/include/git2/sys/repository.h
+++ b/include/git2/sys/repository.h
@@ -7,6 +7,9 @@
#ifndef INCLUDE_sys_git_repository_h__
#define INCLUDE_sys_git_repository_h__
+#include "git2/common.h"
+#include "git2/types.h"
+
/**
* @file git2/sys/repository.h
* @brief Git repository custom implementation routines