diff options
Diffstat (limited to 'tensorflow/core/platform/profile_utils')
-rw-r--r-- | tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.cc | 1 | ||||
-rw-r--r-- | tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.cc b/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.cc index 61b6fa0c84..927e2bc572 100644 --- a/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.cc +++ b/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.cc @@ -24,6 +24,7 @@ limitations under the License. #include <string.h> #include <sys/ioctl.h> #include <sys/syscall.h> +#include <sys/types.h> #include <unistd.h> #include "tensorflow/core/lib/strings/stringprintf.h" diff --git a/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.h b/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.h index c4fe2fc5b3..09c365dd9e 100644 --- a/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.h +++ b/tensorflow/core/platform/profile_utils/android_armv7a_cpu_utils_helper.h @@ -16,6 +16,8 @@ limitations under the License. #ifndef TENSORFLOW_PLATFORM_PROFILEUTILS_ANDROID_ARMV7A_CPU_UTILS_HELPER_H__ #define TENSORFLOW_PLATFORM_PROFILEUTILS_ANDROID_ARMV7A_CPU_UTILS_HELPER_H__ +#include <sys/types.h> + #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/profile_utils/i_cpu_utils_helper.h" #include "tensorflow/core/platform/types.h" |