aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-09-11 13:53:26 -0400
committerNick Mathewson <nickm@torproject.org>2013-09-11 13:53:33 -0400
commit6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154 (patch)
treefd7b4e3d85682310542396047befcc97018d0397 /src/common/sandbox.h
parent79f94e236b60dca6feebd2350d2c00f0c9a2eeb7 (diff)
downloadtor-6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154.tar
tor-6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154.tar.gz
Fix osx compilation again, hopefully better this time.
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 5df9b111d..1d39be409 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