]> git.ozlabs.org Git - petitboot/commit
Include types header in talloc
authorGeoff Levand <geoffrey.levand@am.sony.com>
Fri, 27 Feb 2009 14:53:55 +0000 (14:53 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 23 Mar 2009 10:47:47 +0000 (21:47 +1100)
commit3ba31d4efc8e8d740ee0868fcf50aa51245571a5
tree9c89e8e727d7592a896cf16dfae9a9fe270de5c7
parentc01d445554de972b46f866e1762e76ff1d4d13f5
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 <geoffrey.levand@am.sony.com>
lib/talloc/talloc.h