From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sun, 25 Oct 2015 19:24:04 +0000 Subject: [U-Boot] [PATCH 2/2] musb: sunxi: Implement dfu_usb_get_reset() In-Reply-To: <20151025164615.295bf50c@i7> References: <1445748287-12421-1-git-send-email-siarhei.siamashka@gmail.com> <1445776845.28851.5.camel@hellion.org.uk> <20151025142253.0641bc5f@lilith> <201510251429.59758.marex@denx.de> <20151025164615.295bf50c@i7> Message-ID: <1445801044.28851.14.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2015-10-25 at 16:46 +0200, Siarhei Siamashka wrote: > replace "#include " with "typedef int bool;" and try it > again. So don't do that then. In u-boot the "bool" type comes from stdbool.h and it is therefore completely reasonable to assume that bool in u-boot has the properties which this implies. Ian.