$NetBSD: patch-au,v 1.3 2016/10/09 03:41:56 ryoon Exp $

--- lib/include/su.h.orig	2016-02-16 20:06:46.000000000 +0000
+++ lib/include/su.h
@@ -50,7 +50,7 @@ Bool Id_AuthCheck(char const *right,
                   char const *localizedDescription,
                   Bool showDialogIfNeeded);
 
-#elif (defined(__linux__) || defined(sun) || defined(__FreeBSD__))
+#elif (defined(__linux__) || defined(sun) || defined(__FreeBSD__) || defined(__NetBSD__))
 
 #include <sys/types.h>
 #include <unistd.h>
