]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: mkeficapsule: dont use malloc.h
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:10:03 +0000 (20:10 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
malloc() functions are declared via stdlib.h. Including  malloc.h can lead
to build errors e.g. on OS-X.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
tools/mkeficapsule.c

index 243fd6e48370799dc08ed8fa573f5267edbf4078..d6e3725e5f6eddb6a11ff56aa66eae25c4b342b0 100644 (file)
@@ -5,7 +5,6 @@
  */
 
 #include <getopt.h>
-#include <malloc.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>