aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-25 05:29:03 -0400
committerMike Frysinger <vapier@gentoo.org>2009-08-25 05:29:03 -0400
commitb27df46f349e850067ae388fe067b043abf3aecb (patch)
tree844cf15caafd1646349b85d6aa449928944d9e82 /scripts
parentdrop accidental libsandbox.so addition (diff)
downloadsandbox-b27df46f349e850067ae388fe067b043abf3aecb.tar.gz
sandbox-b27df46f349e850067ae388fe067b043abf3aecb.tar.bz2
sandbox-b27df46f349e850067ae388fe067b043abf3aecb.zip
libsandbox: fix missing *at pre_checks
For systems that lack *at() funcs, make sure we still include the pre-checks as we use these functions in the non-at version. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gen_symbol_header.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_symbol_header.awk b/scripts/gen_symbol_header.awk
index 749dabc..c9af7f9 100644
--- a/scripts/gen_symbol_header.awk
+++ b/scripts/gen_symbol_header.awk
@@ -186,6 +186,8 @@ END {
}
}
+ printf("#include \"wrapper-funcs/__pre_check.c\"\n");
+
printf("#define SB_MAX_STRING_LEN %i\n\n", SB_MAX_STRING_LEN);
printf("#endif /* __symbols_h */\n");