diff options
Diffstat (limited to 'scripts/basic/bin2c.c')
-rw-r--r-- | scripts/basic/bin2c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/basic/bin2c.c b/scripts/basic/bin2c.c index af187e695345..c3d7eef3ad06 100644 --- a/scripts/basic/bin2c.c +++ b/scripts/basic/bin2c.c | |||
@@ -29,7 +29,8 @@ int main(int argc, char *argv[]) | |||
29 | } while (ch != EOF); | 29 | } while (ch != EOF); |
30 | 30 | ||
31 | if (argc > 1) | 31 | if (argc > 1) |
32 | printf("\t;\n\nconst int %s_size = %d;\n", argv[1], total); | 32 | printf("\t;\n\n#include <linux/types.h>\n\nconst size_t %s_size = %d;\n", |
33 | argv[1], total); | ||
33 | 34 | ||
34 | return 0; | 35 | return 0; |
35 | } | 36 | } |