Mercurial > nand-ecoscentric
changeset 2990:436d18a77629
erase_bbt_dangerous: build fix for non-default config
| author | Ross Younger <wry@ecoscentric.com> |
|---|---|
| date | Fri, 13 Nov 2009 17:08:00 +0000 |
| parents | 8fb3f9a53423 |
| children | 1368d5ff0323 |
| files | packages/io/nand/current/ChangeLog packages/io/nand/current/utils/erase_bbt_dangerous.c |
| diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/nand/current/ChangeLog +++ b/packages/io/nand/current/ChangeLog @@ -3,6 +3,7 @@ 2009-11-13 Ross Younger <wry@eCosCentr * utils/erasenand.c: Fix fencepost error * nand_device.h nand.c: Further refine CYGSEM_IO_NAND_USE_BBT, drop the relevant parts of the struct when not enabled. + * utils/erase_bbt_dangerous.c: Build fix for non-default config 2009-11-12 Ross Younger <wry@eCosCentric.com>
--- a/packages/io/nand/current/utils/erase_bbt_dangerous.c +++ b/packages/io/nand/current/utils/erase_bbt_dangerous.c @@ -53,6 +53,8 @@ #include <cyg/infra/diag.h> #include <cyg/infra/testcase.h> #include <stdio.h> +#include <pkgconf/isoinfra.h> +#include CYGBLD_ISO_STRERROR_HEADER /* Utility code to erase the BBT on a device. * This is DANGEROUS, do not run unless you understand the consequences!
