summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-vgauth_lib_common.c
blob: 548f01f741d67cdec77870992447fc60a78bfe73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-vgauth_lib_common.c,v 1.1 2016/10/09 03:41:56 ryoon Exp $

--- vgauth/lib/common.c.orig	2016-02-16 20:06:48.000000000 +0000
+++ vgauth/lib/common.c
@@ -374,7 +374,7 @@ done:
 
    return err;
    }
-#elif defined(sun)
+#elif defined(sun) || defined(__NetBSD__)
    return VGAUTH_E_OK;
 #else
 #error VGAuth_InstallClient unsupported on this platform.
@@ -454,7 +454,7 @@ done:
    g_free(lowAppName);
    return err;
    }
-#elif defined(sun)
+#elif defined(sun) || defined(__NetBSD__)
    return VGAUTH_E_OK;
 #else
 #error VGAuth_UninstallClient unsupported on this platform.