[PATCH] [MIPS] Add missing header for syscall

Petar Jovanovic petar.jovanovic at imgtec.com
Fri Feb 27 18:35:06 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7949

Files:
  compiler-rt/trunk/lib/builtins/clear_cache.c

Index: compiler-rt/trunk/lib/builtins/clear_cache.c
===================================================================
--- compiler-rt/trunk/lib/builtins/clear_cache.c
+++ compiler-rt/trunk/lib/builtins/clear_cache.c
@@ -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.

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7949.20922.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150228/ba4242bb/attachment.bin>


More information about the llvm-commits mailing list