Преглед изворни кода

Fix osx compilation again, hopefully better this time.

Nick Mathewson пре 10 година
родитељ
комит
6a11b6f97d
1 измењених фајлова са 5 додато и 2 уклоњено
  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