summaryrefslogtreecommitdiffstats
path: root/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.c')
-rw-r--r--sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sockets.c b/sockets.c
index e27ddc6..0c560f2 100644
--- a/sockets.c
+++ b/sockets.c
@@ -309,7 +309,7 @@ rfbCloseClient(cl)
rfbClientPtr cl;
{
LOCK(cl->updateMutex);
-#ifdef HAVE_PTHREADS
+#ifdef HAVE_LIBPTHREAD
if (cl->sock != -1)
#endif
{