pkgsrc-wip/p3nfs/patches/patch-ab

13 lines
416 B
Text

$NetBSD: patch-ab,v 1.1 2005/01/02 21:29:03 mreriksson Exp $
--- nfsd/mp_main.c.orig 2004-01-22 15:45:08.000000000 +0100
+++ nfsd/mp_main.c
@@ -8,7 +8,7 @@
#include "version.h"
#include "config.h"
#include <string.h> /* strcmp */
-#if defined (__SVR4) || defined(__sgi)
+#if defined (__SVR4) || defined(__sgi) || defined(__NetBSD__)
#include <stdlib.h> /* getenv */
#endif
#include <unistd.h> /* getuid */