diff options
| -rw-r--r-- | lib_generic/crc32.c | 2 | ||||
| -rw-r--r-- | tools/env/Makefile | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c index 64f66ed6f..83d1d1d3a 100644 --- a/lib_generic/crc32.c +++ b/lib_generic/crc32.c @@ -14,7 +14,9 @@  #include <stdint.h>  #endif +#if defined(CONFIG_HW_WATCHDOG) || defined(CONFIG_WATCHDOG)  #include <watchdog.h> +#endif  #include "zlib.h"  #define local static diff --git a/tools/env/Makefile b/tools/env/Makefile index ea2d5b5a0..9629ee58e 100644 --- a/tools/env/Makefile +++ b/tools/env/Makefile @@ -26,7 +26,7 @@ include $(TOPDIR)/config.mk  SRCS	:= $(obj)crc32.c  fw_env.c  fw_env_main.c  HEADERS	:= fw_env.h -CPPFLAGS := -Wall -DUSE_HOSTCC +CPPFLAGS := -Wall -DUSE_HOSTCC -I$(SRCTREE)/include  ifeq ($(MTD_VERSION),old)  CPPFLAGS += -DMTD_OLD |