[Buildroot] [PATCH 1/1] package/gdbm: fix build error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jun 5 08:14:20 UTC 2017


Hello,

On Mon,  5 Jun 2017 00:09:50 +0200, Bernd Kuhls wrote:

> +-compute_directory_size (GDBM_FILE dbf, blksize_t block_size,
> ++compute_directory_size (GDBM_FILE dbf, __blksize_t block_size,

This doesn't feel like the right fix, because uClibc does define
blksize_t:

#if defined __USE_UNIX98 && !defined __blksize_t_defined
typedef __blksize_t blksize_t;
# define __blksize_t_defined
#endif

Missing header include? __USE_UNIX98 not defined?

Perhaps a good question for Waldemar (added in Cc).

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list