From 001e00ba23962648cf0f8bfa1e1c50685ba6a15d Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Dec 2005 09:41:39 +0000 Subject: Made threading optional git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2108 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 +#ifdef THREADED_DNS #include +#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 -- cgit v1.2.3