aboutsummaryrefslogtreecommitdiff
path: root/sysdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps.h')
-rw-r--r--sysdeps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps.h b/sysdeps.h
index 5ba85b4d..22099e2e 100644
--- a/sysdeps.h
+++ b/sysdeps.h
@@ -789,6 +789,9 @@ static inline void disable_tcp_nagle(borrowed_fd fd) {
// configured to drop after 10 missed keepalives. Returns true on success.
bool set_tcp_keepalive(borrowed_fd fd, int interval_sec);
+// Returns a human-readable OS version string.
+extern std::string GetOSVersion(void);
+
#if defined(_WIN32)
// Win32 defines ERROR, which we don't need, but which conflicts with google3 logging.
#undef ERROR