From 6a11b6f97dabdcf7df7c0d5a7b8577f3cb636154 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 11 Sep 2013 13:53:26 -0400 Subject: [PATCH] Fix osx compilation again, hopefully better this time. --- src/common/sandbox.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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