From: Nick Mathewson Date: Wed, 11 Sep 2013 17:53:26 +0000 (-0400) Subject: Fix osx compilation again, hopefully better this time. X-Git-Tag: tor-0.2.5.1-alpha~39^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154;p=thirdparty%2Ftor.git Fix osx compilation again, hopefully better this time. --- diff --git a/src/common/sandbox.h b/src/common/sandbox.h index 5df9b111db..1d39be4090 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