From ee4912bf795237cb235b3d6533e9046fcd7e12b7 Mon Sep 17 00:00:00 2001 From: Jakob Pfender Date: Tue, 7 Jun 2011 11:15:23 +0200 Subject: [PATCH] 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. --- include/git2/common.h | 1 - src/common.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 #include -#include #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 #include +#include #ifdef GIT_WIN32