Sfoglia il codice sorgente

Fix osx compilation again, hopefully better this time.

Nick Mathewson 10 anni fa
parent
commit
6a11b6f97d
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      src/common/sandbox.h

+ 5 - 2
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