[PATCH 5/3] block-sha1: do not use relative path for git-compat-util.h
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 18, 2011, 04:34 UTC
- Message-ID
- <20110218043413.GE15643@elie>
- In-Reply-To
- <20110218042916.GC15643@elie>
Rely on the includepath instead of specifying a path to git-compat-util.h explicitly. This way, git-compat-util.h can move more easily.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> --- block-sha1/sha1.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block-sha1/sha1.c b/block-sha1/sha1.c index c0054a0..71464fa 100644 --- a/block-sha1/sha1.c +++ b/block-sha1/sha1.c @@ -7,7 +7,7 @@ */ /* this is only to get definitions for memcpy(), ntohl() and htonl() */ -#include "../git-compat-util.h" +#include "git-compat-util.h" #include "sha1.h"
-- 1.7.4.1