commit 6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154 Author: Nick Mathewson nickm@torproject.org Date: Wed Sep 11 13:53:26 2013 -0400
Fix osx compilation again, hopefully better this time. --- src/common/sandbox.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/common/sandbox.h b/src/common/sandbox.h index 5df9b11..1d39be4 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -29,6 +29,11 @@ #define USE_LIBSECCOMP #endif
+struct sandbox_cfg_elem; + +/** Typedef to structure used to manage a sandbox configuration. */ +typedef struct sandbox_cfg_elem sandbox_cfg_t; + /** * Linux definitions */ @@ -85,8 +90,6 @@ struct sandbox_cfg_elem { /** Next element of the configuration*/ struct sandbox_cfg_elem *next; }; -/** Typedef to structure used to manage a sandbox configuration. */ -typedef struct sandbox_cfg_elem sandbox_cfg_t;
/** * Structure used for keeping a linked list of getaddrinfo pre-recorded