forked from OSchip/llvm-project
[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:
parent
48205982a3
commit
9ef0d1c145
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue