commit | 0c34e9a0846080dc6d3814c64d3024070de0ac0b | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Mon Jan 17 13:59:09 2022 +0100 |
committer | Patrick Rohr <prohr@google.com> | Wed Jan 19 14:20:27 2022 +0100 |
tree | 0dd7a33da6674804902c3f6a4cf90f7c24de2d35 | |
parent | 321a9f0719551caca166de2b23729f6f2c5b3351 [diff] [blame] |
Fix kernelversion.h Add missing pragma once and static inline all functions. Bug: 202086915 Bug: 157552970 Test: builds Change-Id: I8aca683e9e60c33bf5a5ac45cc20c2e59c8eecde
diff --git a/staticlibs/native/tcutils/tcutils.cpp b/staticlibs/native/tcutils/tcutils.cpp index e30a500..00f3c56 100644 --- a/staticlibs/native/tcutils/tcutils.cpp +++ b/staticlibs/native/tcutils/tcutils.cpp
@@ -34,6 +34,7 @@ #include <linux/rtnetlink.h> #include <net/if.h> #include <stdarg.h> +#include <stdio.h> #include <sys/socket.h> #include <unistd.h> #include <utility>