[PATCH] include header to define uint32_t, necessary on Mac OS X

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Clifford
Date: Sunday, May 14, 2006 - 1:58 pm

From: Ben Clifford <benc@hawaga.org.uk>
Date: Sun, 14 May 2006 21:34:56 +0100
Subject: [PATCH] include header to define uint32_t, necessary on Mac OS X

---

  pack-objects.c |    1 +
  sha1_file.c    |    1 +
  2 files changed, 2 insertions(+), 0 deletions(-)

2ee926ab9da67ef2a6ca28bb70954a33d65ba466
diff --git a/pack-objects.c b/pack-objects.c
index 1b9e7a1..5466b15 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -10,6 +10,7 @@ #include "csum-file.h"
  #include "tree-walk.h"
  #include <sys/time.h>
  #include <signal.h>
+#include <stdint.h>

  static const char pack_usage[] = "git-pack-objects [-q] [--no-reuse-delta] [--non-empty] [--local] [--incremental] [--window=N] [--depth=N] {--stdout | base-name} < object-list";

diff --git a/sha1_file.c b/sha1_file.c
index 631a605..3372ebc 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -13,6 +13,7 @@ #include "blob.h"
  #include "commit.h"
  #include "tag.h"
  #include "tree.h"
+#include <stdint.h>

  #ifndef O_NOATIME
  #if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
-- 
1.3.2.g5f7f2-dirty

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix git-pack-objects for 64-bit platforms, Dennis Stosberg, (Thu May 11, 10:36 am)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Linus Torvalds, (Thu May 11, 10:58 am)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Junio C Hamano, (Thu May 11, 11:52 am)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Linus Torvalds, (Thu May 11, 12:10 pm)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Linus Torvalds, (Thu May 11, 12:27 pm)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Junio C Hamano, (Fri May 12, 10:58 pm)
Re: [PATCH] Fix git-pack-objects for 64-bit platforms, Ben Clifford, (Sun May 14, 1:56 pm)
[PATCH] include header to define uint32_t, necessary on Ma ..., Ben Clifford, (Sun May 14, 1:58 pm)