diff options
| author | Jakob Pfender <jpfender@elegosoft.com> | 2011-06-07 11:15:23 +0200 |
|---|---|---|
| committer | Jakob Pfender <jpfender@elegosoft.com> | 2011-06-07 12:54:43 +0200 |
| commit | ee4912bf795237cb235b3d6533e9046fcd7e12b7 (patch) | |
| tree | 9444d2bca3cdd0375387b0e564cf7de70656c16f | |
| parent | b74c867a1acfdc5ef0cfa91ba49d3f52d0ac6237 (diff) | |
| download | libgit2-ee4912bf795237cb235b3d6533e9046fcd7e12b7.tar.gz | |
Revert "common: Include stat.h in include/git2/common.h instead of src/common.h"
This reverts commit df1c98ab6d6171ed63729195bd190b54b67fe530.
As 8a27b6b reverts the exposition of struct stat to the external API, we
do not need - indeed, do not want - struct stat to be in the outer
include layer.
| -rw-r--r-- | include/git2/common.h | 1 | ||||
| -rw-r--r-- | src/common.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/common.h b/include/git2/common.h index d08935f8c..9a27ac2e5 100644 --- a/include/git2/common.h +++ b/include/git2/common.h @@ -28,7 +28,6 @@ #include "thread-utils.h" #include <time.h> #include <stdlib.h> -#include <sys/stat.h> #ifdef __cplusplus # define GIT_BEGIN_DECL extern "C" { diff --git a/src/common.h b/src/common.h index fc444c4d4..f4f11fd2f 100644 --- a/src/common.h +++ b/src/common.h @@ -22,6 +22,7 @@ #include <string.h> #include <sys/types.h> +#include <sys/stat.h> #ifdef GIT_WIN32 |
