diff --git a/git-compat-util.h b/git-compat-util.h
index 785aa31b46c4781b5003aa60214b42d122310e31..1ac16bde5ab853098f857a64c6f0fea9f4c3437f 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _BSD_SOURCE 1
+#define _NETBSD_SOURCE 1
#include <unistd.h>
#include <stdio.h>