summaryrefslogtreecommitdiff
path: root/dev-build/kbuild/files/kbuild-0.1.9998.3660-int-conversion.patch
blob: 9e472abbfdd6ffa58fa8dae3f4936a65cca2a85e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Fix int to pointer conversion for clang

Note - this parameter was not actually used inside eval_buffer because of a define.

Bug: https://bugs.gentoo.org/875449

--- a/src/kmk/loadapi.c
+++ b/src/kmk/loadapi.c
@@ -20,6 +20,8 @@
 #include "variable.h"
 #include "dep.h"
 
+#include <string.h>
+
 /* Allocate a buffer in our context, so we can free it.  */
 char *
 gmk_alloc (unsigned int len)