[MIPS] Add missing header for syscall

The syscall function itself is declared in <unistd.h>
Compiling compiler-rt with -Werror-implicit-function-declaration will
cause a build failure. This change fixes it.

Differential Revision: http://reviews.llvm.org/D7949

llvm-svn: 230838
This commit is contained in:
Petar Jovanovic 2015-02-28 02:32:55 +00:00
parent 48205982a3
commit 9ef0d1c145
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#if defined(__mips__)
#include <sys/cachectl.h>
#include <sys/syscall.h>
#include <unistd.h>
#if defined(__ANDROID__) && defined(__LP64__)
/*
* clear_mips_cache - Invalidates instruction cache for Mips.