diff options
author | Roger Dingledine <arma@torproject.org> | 2008-09-01 08:01:22 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-09-01 08:01:22 +0000 |
commit | 6942bd66eaf7a7a2bcd4a7dd4e91afc4d4e561f0 (patch) | |
tree | d5f389e12b24f960984a94e6c77df75b8d6fab90 /src | |
parent | e5576a66dd708be890954a2c01eef5a2764212b1 (diff) | |
download | tor-6942bd66eaf7a7a2bcd4a7dd4e91afc4d4e561f0.tar.gz tor-6942bd66eaf7a7a2bcd4a7dd4e91afc4d4e561f0.zip |
Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
Reported by Tas.
svn:r16713
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.h | 3 | ||||
-rw-r--r-- | src/common/container.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 311818cb77..a0f614f55e 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -36,6 +36,9 @@ #ifdef HAVE_CTYPE_H #include <ctype.h> #endif +#ifdef HAVE_PTHREAD_H +#include <pthread.h> +#endif #include <stdarg.h> #ifdef HAVE_SYS_RESOURCE_H #include <sys/resource.h> diff --git a/src/common/container.c b/src/common/container.c index ffb4ffe497..908bc9485e 100644 --- a/src/common/container.c +++ b/src/common/container.c @@ -14,6 +14,7 @@ const char container_c_id[] = * a digest-to-void* map. **/ +#include "orconfig.h" #include "compat.h" #include "util.h" #include "log.h" |