make --with-selinux work with libtcc, too

This commit is contained in:
Henry Kroll III
2010-04-24 03:28:54 -07:00
parent a4ed587f61
commit 2ab42855cb
3 changed files with 35 additions and 34 deletions

4
tcc.h
View File

@ -521,6 +521,10 @@ struct TCCState {
/* for tcc_relocate */
int runtime_added;
void *runtime_mem;
#ifdef HAVE_SELINUX
void *write_mem;
unsigned long mem_size;
#endif
struct InlineFunc **inline_fns;
int nb_inline_fns;