--- a/core/libutils/include/utils/CallStack.h
+++ b/core/libutils/include/utils/CallStack.h
@@ -20,7 +20,7 @@
 #include <memory>
 
 #include <android/log.h>
-#include <backtrace/backtrace_constants.h>
+#define BACKTRACE_CURRENT_THREAD -1
 #include <utils/String8.h>
 #include <utils/Vector.h>
 
