aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps.h b/sysdeps.h
index 224a5176..a06b9394 100644
--- a/sysdeps.h
+++ b/sysdeps.h
@@ -31,12 +31,15 @@
#include <string_view>
#include <vector>
-// Include this before open/close/unlink are defined as macros below.
+// Include this before open/close/isatty/unlink are defined as macros below.
#include <android-base/errors.h>
#include <android-base/macros.h>
#include <android-base/off64_t.h>
#include <android-base/unique_fd.h>
#include <android-base/utf8.h>
+#if __has_include(<print>)
+#include <print>
+#endif
#include "adb_unique_fd.h"
#include "sysdeps/errno.h"