aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Clifford <benc@hawaga.org.uk>2006-05-14 21:34:56 +0100
committerJunio C Hamano <junkio@cox.net>2006-05-14 16:19:52 -0700
commitd9635e9c539465792b1920437b52fa8792a71650 (patch)
treeb62cd7fc86637c0fdb9de0c9eb5e362b981558e6
parent66561f5a776f2343331fff5b98adff1000622f42 (diff)
downloadgit-d9635e9c539465792b1920437b52fa8792a71650.tar.gz
git-d9635e9c539465792b1920437b52fa8792a71650.tar.xz
include header to define uint32_t, necessary on Mac OS X
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--pack-objects.c1
-rw-r--r--sha1_file.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/pack-objects.c b/pack-objects.c
index a81d609b2..aa2c09861 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -10,6 +10,7 @@
#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 642c45ad7..673c58d45 100644
--- a/sha1_file.c
+++ b/sha1_file.c
@@ -13,6 +13,7 @@
#include "commit.h"
#include "tag.h"
#include "tree.h"
+#include <stdint.h>
#ifndef O_NOATIME
#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))