dtc: Include stdlib.h in util.h

If used on its own, util.h needs stdlib.h for exit(), malloc() and
realloc().

Signed-off-by: Andrei Ziureaev <andrei.ziureaev@arm.com>
Message-Id: <20200721155900.9147-2-andrei.ziureaev@arm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Andrei Ziureaev 2020-07-21 16:58:57 +01:00 committed by David Gibson
parent 808cdaaf52
commit 3d522abc75
1 changed files with 1 additions and 0 deletions

1
util.h
View File

@ -2,6 +2,7 @@
#ifndef UTIL_H #ifndef UTIL_H
#define UTIL_H #define UTIL_H


#include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdbool.h> #include <stdbool.h>
#include <getopt.h> #include <getopt.h>