Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handlers/raw_handler and corelib/installer does not need flash.h. corelib/stream_interface and core/swupdate should include flash.h only conditionally. This fixes build errors if HAVE_MTD is not set and libmtd is not available: In file included from include/swupdate.h:25:0, from handlers/raw_handler.c:33: include/flash.h:26:24: fatal error: mtd/libmtd.h: No such file or directory Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
- Loading branch information
1 parent
30e5f21
commit 69c0e66
Showing
5 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ | |
|
||
#include <sys/types.h> | ||
#include "bsdqueue.h" | ||
#include "flash.h" | ||
#include "globals.h" | ||
|
||
typedef enum { | ||
|