summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-07-18 17:25:26 -0700
committerElliott Hughes <enh@google.com>2014-07-18 17:27:49 -0700
commit3afe9ae11d9268037ca7b56c0aba4ef9ae477fd7 (patch)
tree52f063de4ee3044194387789faf43256c7dc8944
parentf7a65d9b7f36f53b9cb34c834b4298fbacec15ee (diff)
downloadandroid_external_android-clat-3afe9ae11d9268037ca7b56c0aba4ef9ae477fd7.tar.gz
android_external_android-clat-3afe9ae11d9268037ca7b56c0aba4ef9ae477fd7.tar.bz2
android_external_android-clat-3afe9ae11d9268037ca7b56c0aba4ef9ae477fd7.zip
Fix implicit declaration of function 'prctl' in clatd.
(cherry picked from commit 787ea96922dc3942946fd4ad1e0495d4e06e0c2f) Change-Id: I4582222c8576353b800cc7d30f16c5dbe5f2e8a9
-rw-r--r--clatd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clatd.c b/clatd.c
index 1333e30..c2199ac 100644
--- a/clatd.c
+++ b/clatd.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <sys/prctl.h>
#include <sys/stat.h>
#include <string.h>
#include <errno.h>