Re: [U-Boot] [PATCH] bch: Fix build on FreeBSD host

2017-07-19 Thread Mark Kettenis
> Date: Wed, 19 Jul 2017 09:56:20 +0200 > From: Emmanuel Vadot > > On Wed, 19 Jul 2017 16:26:13 +1000 > Jonathan Gray wrote: > > > On Tue, Jun 20, 2017 at 09:02:29AM +0200, Emmanuel Vadot wrote: > > > endian.h on FreeBSD system exist in sys/ subdirectory.

Re: [U-Boot] [PATCH] bch: Fix build on FreeBSD host

2017-07-19 Thread Emmanuel Vadot
On Wed, 19 Jul 2017 16:26:13 +1000 Jonathan Gray wrote: > On Tue, Jun 20, 2017 at 09:02:29AM +0200, Emmanuel Vadot wrote: > > endian.h on FreeBSD system exist in sys/ subdirectory. > > FreeBSD already have a fls function defined in strings.h which is included > > in string.h if

Re: [U-Boot] [PATCH] bch: Fix build on FreeBSD host

2017-07-19 Thread Jonathan Gray
On Tue, Jun 20, 2017 at 09:02:29AM +0200, Emmanuel Vadot wrote: > endian.h on FreeBSD system exist in sys/ subdirectory. > FreeBSD already have a fls function defined in strings.h which is included > in string.h if __BSD_VISIBLE is defined, as a check for this. This broke the build of u-boot on

[U-Boot] [PATCH] bch: Fix build on FreeBSD host

2017-06-20 Thread Emmanuel Vadot
endian.h on FreeBSD system exist in sys/ subdirectory. FreeBSD already have a fls function defined in strings.h which is included in string.h if __BSD_VISIBLE is defined, as a check for this. Signed-off-by: Emmanuel Vadot --- lib/bch.c | 6 ++ 1 file changed, 6