NetBSD compilation fix

Similar to other BSD variants, it needs USE_ST_TIMESPEC.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Welche
2009-04-26 14:49:00 +01:00
committed by Junio C Hamano
parent fe4a9c36a3
commit 9a695fbf38
2 changed files with 2 additions and 0 deletions

View File

@ -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>