summaryrefslogtreecommitdiffstats
path: root/x11vnc/unixpw.c
diff options
context:
space:
mode:
authorrunge <runge>2008-06-07 21:12:50 +0000
committerrunge <runge>2008-06-07 21:12:50 +0000
commit975b6902344216c2e4b0e1a38320b822639640dc (patch)
treecb1881214c0c3031f1d0ae9ceb6a6e5a4e12ce37 /x11vnc/unixpw.c
parenta824cf443df899c8d2178a1bd7581057bd7f60d6 (diff)
downloadlibvncserver-975b6902344216c2e4b0e1a38320b822639640dc.zip
libvncserver-975b6902344216c2e4b0e1a38320b822639640dc.tar.gz
x11vnc: -clip xineramaN option, -DIGNORE_GETSPNAM for HP-UX.
Print info on SSH_CONNECTION override.
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r--x11vnc/unixpw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/unixpw.c b/x11vnc/unixpw.c
index 9390b43..9fd2e4e 100644
--- a/x11vnc/unixpw.c
+++ b/x11vnc/unixpw.c
@@ -25,6 +25,11 @@ extern char *crypt(const char*, const char *);
#endif
#endif
+#ifdef IGNORE_GETSPNAM
+#undef LIBVNCSERVER_HAVE_GETSPNAM
+#define LIBVNCSERVER_HAVE_GETSPNAM 0
+#endif
+
#if LIBVNCSERVER_HAVE_PWD_H && LIBVNCSERVER_HAVE_GETPWNAM
#if LIBVNCSERVER_HAVE_CRYPT || LIBVNCSERVER_HAVE_LIBCRYPT
#define UNIXPW_CRYPT
OpenPOWER on IntegriCloud