diff options
Diffstat (limited to 'x11vnc/unixpw.c')
-rw-r--r-- | x11vnc/unixpw.c | 5 |
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 |