diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-05 15:56:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-05 15:56:53 +0000 |
commit | b56d1545db0c73431f75ec08412a9a6f0e087732 (patch) | |
tree | 14d6334671e4cd29d15568c073b5bac924b2f89b /src | |
parent | b31e2c2491951c10e1e53d4d0cc32a3ac728e279 (diff) | |
download | tor-b56d1545db0c73431f75ec08412a9a6f0e087732.tar tor-b56d1545db0c73431f75ec08412a9a6f0e087732.tar.gz |
Fix freebsd 7 compile by adding malloc_np.h header. Fix bug 850.
svn:r17190
Diffstat (limited to 'src')
-rw-r--r-- | src/common/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index dc15c6b03..640239f97 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -76,6 +76,9 @@ const char util_c_id[] = "$Id$"; #ifdef HAVE_MALLOC_H #include <malloc.h> #endif +#ifdef HAVE_MALLOC_NP_H +#include <malloc_np.h> +#endif /* ===== * Memory management |