summaryrefslogtreecommitdiffstats
path: root/libcutils/trace-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcutils/trace-dev.c')
-rw-r--r--libcutils/trace-dev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcutils/trace-dev.c b/libcutils/trace-dev.c
index 099ab458c..b91c7bef3 100644
--- a/libcutils/trace-dev.c
+++ b/libcutils/trace-dev.c
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "cutils-trace"
+
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
@@ -27,8 +29,7 @@
#include <cutils/properties.h>
#include <cutils/trace.h>
-#define LOG_TAG "cutils-trace"
-#include <log/log.h>
+#include <android/log.h>
/**
* Maximum size of a message that can be logged to the trace buffer.