Skip to content
Snippets Groups Projects
Commit a5ed8b16 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix compilation of sandbox.[ch] under musl-libc

Patch from jamestk; fix on 0.2.5.1-alpha. Fixes 17347.
parent 7c3f210e
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes (compilation):
- Fix compilation of sandbox.c with musl-libc.
Fixes bug 17347; bugfix on 0.2.5.1-alpha.
Patch from 'jamestk'.
......@@ -48,7 +48,7 @@
#include <sys/epoll.h>
#include <sys/prctl.h>
#include <linux/futex.h>
#include <bits/signum.h>
#include <sys/file.h>
#include <stdarg.h>
#include <seccomp.h>
......
......@@ -42,6 +42,9 @@ typedef struct sandbox_cfg_elem sandbox_cfg_t;
#ifndef __USE_GNU
#define __USE_GNU
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sys/ucontext.h>
#include <seccomp.h>
#include <netdb.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment