--- src/kmk/kmkbuiltin/expr.c | 2 ++ src/kmk/kmkbuiltin/kbuild_protection.c | 1 + 2 files changed, 3 insertions(+) Index: kbuild-0.1.9998+svn3613/src/kmk/kmkbuiltin/expr.c =================================================================== --- kbuild-0.1.9998+svn3613.orig/src/kmk/kmkbuiltin/expr.c +++ kbuild-0.1.9998+svn3613/src/kmk/kmkbuiltin/expr.c @@ -317,6 +317,8 @@ eval6(PEXPRINSTANCE pThis) return v; } else { error(pThis); + /* dummy return in order to make the build checks happy (this will never be reached) */ + return NULL; } /* NOTREACHED */ } Index: kbuild-0.1.9998+svn3613/src/kmk/kmkbuiltin/kbuild_protection.c =================================================================== --- kbuild-0.1.9998+svn3613.orig/src/kmk/kmkbuiltin/kbuild_protection.c +++ kbuild-0.1.9998+svn3613/src/kmk/kmkbuiltin/kbuild_protection.c @@ -29,6 +29,7 @@ #include "config.h" #include #include +#include #include #include #include