[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r16713: {tor} Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha. (in tor/trunk: . src/common)



Author: arma
Date: 2008-09-01 04:01:22 -0400 (Mon, 01 Sep 2008)
New Revision: 16713

Modified:
   tor/trunk/ChangeLog
   tor/trunk/src/common/compat.h
   tor/trunk/src/common/container.c
Log:
Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
Reported by Tas.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2008-09-01 04:13:46 UTC (rev 16712)
+++ tor/trunk/ChangeLog	2008-09-01 08:01:22 UTC (rev 16713)
@@ -1,3 +1,9 @@
+Changes in version 0.2.1.6-alpha - 2008-09-xx
+  o Minor bugfixes:
+    - Fix compile on OpenBSD 4.4-current. Bugfix on 0.2.1.5-alpha.
+      Reported by Tas.
+
+
 Changes in version 0.2.1.5-alpha - 2008-08-31
   o Major features:
     - Convert many internal address representations to optionally hold

Modified: tor/trunk/src/common/compat.h
===================================================================
--- tor/trunk/src/common/compat.h	2008-09-01 04:13:46 UTC (rev 16712)
+++ tor/trunk/src/common/compat.h	2008-09-01 08:01:22 UTC (rev 16713)
@@ -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>

Modified: tor/trunk/src/common/container.c
===================================================================
--- tor/trunk/src/common/container.c	2008-09-01 04:13:46 UTC (rev 16712)
+++ tor/trunk/src/common/container.c	2008-09-01 08:01:22 UTC (rev 16713)
@@ -14,6 +14,7 @@
  * a digest-to-void* map.
  **/
 
+#include "orconfig.h"
 #include "compat.h"
 #include "util.h"
 #include "log.h"