summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-06 03:49:57 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-06 03:49:57 +0000
commitbbc7cf86d5cf3a3c488e8218884e570201d8f0b8 (patch)
tree67ee94e7678e0f85fa692151597d78e4528be9b4
parenta1e3b60d2deac551454da6de75a0c0adda9aa175 (diff)
downloadtor-bbc7cf86d5cf3a3c488e8218884e570201d8f0b8.tar.gz
tor-bbc7cf86d5cf3a3c488e8218884e570201d8f0b8.zip
r13600@Kushana: nickm | 2007-07-05 23:49:47 -0400
try to fix mingw compile svn:r10743
-rw-r--r--src/common/compat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 62749a4e5f..9bd249ad46 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -101,6 +101,7 @@ const char compat_c_id[] =
#include "log.h"
#include "util.h"
+#include "container.h"
/* Inline the strl functions if the platform doesn't have them. */
#ifndef HAVE_STRLCPY
@@ -1497,8 +1498,8 @@ struct tor_mutex_t {
tor_mutex_t *
tor_mutex_new(void)
{
- void *r
- m = tor_malloc_zero(sizeof(tor_mutex_t));
+ void *r;
+ tor_mutex_t *m = tor_malloc_zero(sizeof(tor_mutex_t));
r = InitializeCriticalSection(&m->mutex);
tor_assert(r != NULL);
return m;