Index: src/trusted/service_runtime/sel_ldr.h |
diff --git a/src/trusted/service_runtime/sel_ldr.h b/src/trusted/service_runtime/sel_ldr.h |
index b6d4398e289816b1ff3f917ba8fa39744680de70..6acf1eda1a1d209b33245dd80bc2c8d98480c3bb 100644 |
--- a/src/trusted/service_runtime/sel_ldr.h |
+++ b/src/trusted/service_runtime/sel_ldr.h |
@@ -33,6 +33,8 @@ |
#include "native_client/src/include/portability.h" |
#include "native_client/src/include/elf.h" |
+#include "native_client/src/public/nacl_app.h" |
+ |
#include "native_client/src/shared/platform/nacl_host_desc.h" |
#include "native_client/src/shared/platform/nacl_log.h" |
#include "native_client/src/shared/platform/nacl_threads.h" |
@@ -640,13 +642,7 @@ static const uintptr_t kNaClBadAddress = (uintptr_t) -1; |
struct NaClDesc *NaClAppGetDesc(struct NaClApp *nap, |
int d); |
-/* |
- * Takes ownership of ndp. |
- */ |
-void NaClAppSetDesc(struct NaClApp *nap, |
- int d, |
- struct NaClDesc *ndp); |
- |
+/* NaClAppSetDesc() is defined in src/public/chrome_main.h. */ |
int32_t NaClAppSetDescAvail(struct NaClApp *nap, |
struct NaClDesc *ndp); |