summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 388977359..0e5937667 100644
--- a/include/users.h
+++ b/include/users.h
@@ -19,7 +19,9 @@
#include "inspstring.h"
#include "connection.h"
#include <string>
+#ifdef THREADED_DNS
#include <pthread.h>
+#endif
#ifndef __USERS_H__
#define __USERS_H__
@@ -320,7 +322,9 @@ class userrec : public connection
virtual ~userrec();
+#ifdef THREADED_DNS
pthread_t dnsthread;
+#endif
};
/** A lightweight userrec used by WHOWAS