summaryrefslogtreecommitdiff
path: root/adb/fdevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adb/fdevent.cpp')
-rw-r--r--adb/fdevent.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/adb/fdevent.cpp b/adb/fdevent.cpp
index 0c43c5e9c7..8997897aa4 100644
--- a/adb/fdevent.cpp
+++ b/adb/fdevent.cpp
@@ -30,6 +30,8 @@
#include <sys/ioctl.h>
#include <unistd.h>
+#include "base/macros.h"
+
#include "adb_io.h"
#include "adb_trace.h"
@@ -44,6 +46,7 @@
// of the shell's pseudo-tty master. I.e. force close it.
int SHELL_EXIT_NOTIFY_FD = -1;
+static void fatal(const char *fn, const char *fmt, ...) ATTRIBUTE_FORMAT(2, 3);
static void fatal(const char *fn, const char *fmt, ...)
{
va_list ap;