about summary refs log tree commit diff stats
path: root/src/box64context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/box64context.c')
-rwxr-xr-xsrc/box64context.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/box64context.c b/src/box64context.c
index 21768fb2..84362565 100755
--- a/src/box64context.c
+++ b/src/box64context.c
@@ -8,6 +8,7 @@
 
 #include "box64context.h"
 #include "debug.h"
+#include "elfloader.h"
 
 
 EXPORTDYN
@@ -146,7 +147,7 @@ void FreeBox64Context(box64context_t** context)
 
     free(ctx);
 }
-/*
+
 int AddElfHeader(box64context_t* ctx, elfheader_t* head) {
     int idx = ctx->elfsize;
     if(idx==ctx->elfcap) {
@@ -159,7 +160,7 @@ int AddElfHeader(box64context_t* ctx, elfheader_t* head) {
     printf_log(LOG_DEBUG, "Adding \"%s\" as #%d in elf collection\n", ElfName(head), idx);
     return idx;
 }
-*/
+
 int AddTLSPartition(box64context_t* context, int tlssize) {
     int oldsize = context->tlssize;
     context->tlssize += tlssize;