Browse Source

Fix osx compilation again, hopefully better this time.

Nick Mathewson 10 years ago
parent
commit
6a11b6f97d
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/common/sandbox.h

+ 5 - 2
src/common/sandbox.h

@@ -29,6 +29,11 @@
 #define USE_LIBSECCOMP
 #define USE_LIBSECCOMP
 #endif
 #endif
 
 
+struct sandbox_cfg_elem;
+
+/** Typedef to structure used to manage a sandbox configuration. */
+typedef struct sandbox_cfg_elem sandbox_cfg_t;
+
 /**
 /**
  * Linux definitions
  * Linux definitions
  */
  */
@@ -85,8 +90,6 @@ struct sandbox_cfg_elem {
   /** Next element of the configuration*/
   /** Next element of the configuration*/
   struct sandbox_cfg_elem *next;
   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
  * Structure used for keeping a linked list of getaddrinfo pre-recorded