summaryrefslogtreecommitdiff
path: root/dmake/unix/runargv.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmake/unix/runargv.c')
-rw-r--r--dmake/unix/runargv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmake/unix/runargv.c b/dmake/unix/runargv.c
index 4be342bbb273..95bfc6115456 100644
--- a/dmake/unix/runargv.c
+++ b/dmake/unix/runargv.c
@@ -438,7 +438,7 @@ private_strerror (errnum)
int errnum;
{
#ifndef __APPLE__
-# if defined(arm32) || defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__)
+# if defined(arm32) || defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
extern const char * const sys_errlist[];
# else
extern char *sys_errlist[];