libc: remove cutils dependencies
We simply copy the stuff we need from cutils headers.
A future patch will change cutils to include the private <bionic_atomic_inline.h>
Change-Id: Ib6fd9a03bc9e337ce867bd606dc94c2b4438480a
diff --git a/libc/bionic/logd_write.c b/libc/bionic/logd_write.c
index 618160f..63dfd59 100644
--- a/libc/bionic/logd_write.c
+++ b/libc/bionic/logd_write.c
@@ -38,12 +38,17 @@
#include <stdarg.h>
#include <fcntl.h>
-#include <cutils/logger.h>
#include "logd.h"
+/* should match system/core/include/cutils/logger.h */
+#define LOGGER_LOG_MAIN "log/main"
+#define LOGGER_LOG_RADIO "log/radio"
+#define LOGGER_LOG_EVENTS "log/events"
+#define LOGGER_LOG_SYSTEM "log/system"
+
#include <pthread.h>
-#define LOG_BUF_SIZE 1024
+#define LOG_BUF_SIZE 1024
typedef enum {
LOG_ID_NONE = 0,