From: Geoff Levand Date: Fri, 27 Feb 2009 14:53:55 +0000 (+0000) Subject: Include types header in talloc X-Git-Tag: v1.0.0~908 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=3ba31d4efc8e8d740ee0868fcf50aa51245571a5;ds=sidebyside Include types header in talloc Include sys/types.h in talloc.h. talloc.h uses off_t, which is defined in sys/types.h. Fixes this OpenWRT build error: ./lib/talloc/talloc.h:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'talloc_total_size' Signed-off-by: Geoff Levand --- diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h index 15a1eb6..b5fca44 100644 --- a/lib/talloc/talloc.h +++ b/lib/talloc/talloc.h @@ -25,6 +25,7 @@ #include #include #include +#include /* this is only needed for compatibility with the old talloc */ typedef void TALLOC_CTX;