Fix Compilation Errors with 'tools/env/fw_printenv'
authorGrant Erickson <gerickson@nuovations.com>
Tue, 6 May 2008 23:18:00 +0000 (16:18 -0700)
committerWolfgang Denk <wd@denx.de>
Fri, 9 May 2008 21:04:41 +0000 (23:04 +0200)
commitf3b6d528e4dd719640a4bfcd954f4e4c7f5db0d6
tree03337ee79651b01b5bb57b0c3bacf29f6491d915
parent7ea8325b41e02bf0a84ef3eafa686730886977a8
Fix Compilation Errors with 'tools/env/fw_printenv'

In the current top-of-tree, 1.3.3.-rc2, the optional tool
'tools/env/fw_printenv' fails to compile for two reasons:

1) The header watchdog.h cannot be found.
2) The header zlib.h is picked up from the tool chain rather than the
   project causing a prototype conflict for crc32.

This patch addresses both of these issues.

Platforms Tested On:
- AMCC "Kilauea"

Signed-off-by: Grant Erickson <gerickson@nuovations.com>
lib_generic/crc32.c
tools/env/Makefile