Skip to content

Commit

Permalink
add some missing #includes
Browse files Browse the repository at this point in the history
  • Loading branch information
fw-immunant committed Sep 14, 2023
1 parent 988d6ea commit d098b6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libia2/threads.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <pthread.h>
#include <signal.h>
#include <sys/mman.h>

#include "ia2.h"

Expand Down
1 change: 1 addition & 0 deletions rewriter/tests/heap_two_keys/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TODO: %binary_dir/tests/heap_two_keys/heap_two_keys_main_wrapped 2 | diff %S/Out
*/
#include <stdio.h>
#include <unistd.h>
#include <assert.h>
#include <ia2.h>
#include <ia2_allocator.h>
#include "plugin.h"
Expand Down
1 change: 1 addition & 0 deletions rewriter/tests/permissive_mode/permissive_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ RUN: %binary_dir/tests/permissive_mode/permissive_mode_main_wrapped
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <assert.h>
#include <ia2.h>
#include <permissive_mode.h>

Expand Down
1 change: 1 addition & 0 deletions rewriter/tests/read_config/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN: readelf -lW %binary_dir/tests/read_config/libread_config_lib_wrapped.so | F
#include "core.h"
#include <ia2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define IA2_COMPARTMENT 2
Expand Down

0 comments on commit d098b6a

Please sign in to comment.