kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 43a726c02decec4c6ab00a686198759543942dab
parent 89f81a8b5a03ad8e28ee2fc9d668462c15aa757b
Author: Joris Vink <joris@coders.se>
Date:   Thu, 23 Jun 2016 16:18:36 +0200

Use sys/types.h instead of sys/param.h for assets.

Diffstat:
src/cli.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c @@ -751,7 +751,7 @@ cli_build_asset(char *fpath, struct dirent *dp) /* Start generating the file. */ cli_file_writef(out, "/* Auto generated */\n"); - cli_file_writef(out, "#include <sys/param.h>\n\n"); + cli_file_writef(out, "#include <sys/types.h>\n\n"); /* Write the file data as a byte array. */ cli_file_writef(out, "u_int8_t asset_%s_%s[] = {\n", name, ext);