Skip to content

Commit

Permalink
dtc: Include stdlib.h in util.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrei Ziureaev authored and dgibson committed Jul 22, 2020
1 parent 808cdaa commit 3d522ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#ifndef UTIL_H
#define UTIL_H

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

0 comments on commit 3d522ab

Please sign in to comment.