Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[deliverable/linux.git] / scripts / basic / bin2c.c
index af187e695345f2b26046832a7a2aff2af681e739..c3d7eef3ad0619806e8b7069e097ca20406b56d8 100644 (file)
@@ -29,7 +29,8 @@ int main(int argc, char *argv[])
        } while (ch != EOF);
 
        if (argc > 1)
-               printf("\t;\n\nconst int %s_size = %d;\n", argv[1], total);
+               printf("\t;\n\n#include <linux/types.h>\n\nconst size_t %s_size = %d;\n",
+                      argv[1], total);
 
        return 0;
 }
This page took 0.045321 seconds and 5 git commands to generate.