summaryrefslogtreecommitdiff
path: root/pkgtools/cwrappers/files/bin/base-wrapper.c
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-04-19 14:30:07 +0000
committerjperkin <jperkin@pkgsrc.org>2015-04-19 14:30:07 +0000
commitaedcfc39508179a69b4b8392401ce3c78a3059ec (patch)
treeacf8386c24f6000501ebbf1f1f4218165859d237 /pkgtools/cwrappers/files/bin/base-wrapper.c
parent6c9ae8d0df8e0727b849caaef1c1f0698a368edd (diff)
downloadpkgsrc-aedcfc39508179a69b4b8392401ce3c78a3059ec.tar.gz
Portability fix, use err.h from libnbcompat.
Diffstat (limited to 'pkgtools/cwrappers/files/bin/base-wrapper.c')
-rw-r--r--pkgtools/cwrappers/files/bin/base-wrapper.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/cwrappers/files/bin/base-wrapper.c b/pkgtools/cwrappers/files/bin/base-wrapper.c
index ac04d776b35..6e0d9d018ea 100644
--- a/pkgtools/cwrappers/files/bin/base-wrapper.c
+++ b/pkgtools/cwrappers/files/bin/base-wrapper.c
@@ -1,4 +1,4 @@
-/* $NetBSD: base-wrapper.c,v 1.1 2014/09/17 12:40:56 joerg Exp $ */
+/* $NetBSD: base-wrapper.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -31,8 +31,9 @@
* SUCH DAMAGE.
*/
+#include <nbcompat.h>
#include <sys/wait.h>
-#include <err.h>
+#include <nbcompat/err.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>