Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Welche <prlw1@cam.ac.uk>2009-04-26 17:49:00 +0400
committerJunio C Hamano <gitster@pobox.com>2009-04-27 20:54:24 +0400
commit9a695fbf388263794ccbd16a342f4e2f8c5d400d (patch)
tree56d6245623a59b574d6265e1fe007d7fe23119bd /git-compat-util.h
parentfe4a9c36a3905d5aefc9740ba1689d3000c2762e (diff)
NetBSD compilation fix
Similar to other BSD variants, it needs USE_ST_TIMESPEC. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 785aa31b46..1ac16bde5a 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -46,6 +46,7 @@
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1
+#define _NETBSD_SOURCE 1
#include <unistd.h>
#include <stdio.h>