diff options
Diffstat (limited to 'libcutils/debugger.c')
-rw-r--r-- | libcutils/debugger.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcutils/debugger.c b/libcutils/debugger.c index 3407ec3a1..c6bdd1a6a 100644 --- a/libcutils/debugger.c +++ b/libcutils/debugger.c @@ -14,21 +14,21 @@ * limitations under the License. */ -#include <stdbool.h> +#define LOG_TAG "DEBUG" + #include <fcntl.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/types.h> #include <sys/socket.h> +#include <sys/types.h> #include <unistd.h> +#include <android/log.h> #include <cutils/debugger.h> #include <cutils/sockets.h> -#define LOG_TAG "DEBUG" -#include <log/log.h> - static int send_request(int sock_fd, void* msg_ptr, size_t msg_len) { int result = 0; if (TEMP_FAILURE_RETRY(write(sock_fd, msg_ptr, msg_len)) != (ssize_t) msg_len) { |