Include dualboot.h in dualboot.c as an additional compile time sanity check

Author: Tobias Diedrich
Flyspray: FS #11009


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24636 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-02-13 18:53:29 +00:00
parent 9ec0c1669c
commit b4fd5d852a
3 changed files with 4 additions and 0 deletions

View file

@ -527,6 +527,7 @@ Marek Salaba
Altay Oz
Peter Lecky
Mark Borgerding
Tobias Diedrich
The libmad team
The wavpack team

View file

@ -1,5 +1,7 @@
/* Generated by bin2c */
#include "dualboot.h"
unsigned char nrv2e_d8[168] = {
0x0f, 0x18, 0x01, 0x24, 0x65, 0x42, 0xe4, 0x07, 0x05, 0x26, 0x36, 0x02, 0x0a, 0xe0, 0x00, 0x20,
0x00, 0x47, 0x04, 0x78, 0x64, 0x41, 0x01, 0x30, 0x24, 0x06, 0xf7, 0x46, 0x03, 0x78, 0x01, 0x30,

View file

@ -90,6 +90,7 @@ int main (int argc, char* argv[])
}
fprintf(cfile,"/* Generated by bin2c */\n\n");
fprintf(cfile,"#include \"%s\"\n\n", hfilename);
fprintf(hfile,"/* Generated by bin2c */\n\n");
for(i=0; i < argc - 2; i++) {