Fix framworks/base compiling against musl

Add missing includes that are not transitively provided when compiling
against musl.

Bug: 190084016
Test: m USE_HOST_MUSL=true
Change-Id: Ia22c3df2e904e7a479bb636b7db22e5a0c341b98
This commit is contained in:
Colin Cross 2021-09-13 16:30:12 -07:00
parent 733dd0f1e9
commit 7cdbd68610
3 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include "print.h"
#include <sys/ioctl.h>
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>

View File

@ -17,6 +17,8 @@
#ifndef UTIL_H
#define UTIL_H
#include <sys/types.h>
#include <map>
#include <string>
#include <vector>

View File

@ -1,5 +1,6 @@
#include "Errors.h"
#include <stdarg.h>
#include <stdlib.h>
namespace android {