From c49ca22a88561268db5cd3a401cf6b68576a23fd Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Fri, 20 Jan 2017 12:58:10 +0900 Subject: [PATCH] Fix compilation on OS/2 off_t requires sys/types.h on OS/2 ----- [CC] test/../ivfenc.c.o In file included from test/.././ivfenc.h:13:0, from test/../ivfenc.c:11: test/../././tools_common.h:36:9: error: unknown type name 'off_t' typedef off_t FileOffset; ^~~~~ make.exe[1]: *** [test/../ivfenc.c.o] Error 1 ----- Change-Id: Ia09935e5de8573e63185369fc139e3355664afd1 --- tools_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools_common.h b/tools_common.h index 41253729c..313acd2cf 100644 --- a/tools_common.h +++ b/tools_common.h @@ -33,6 +33,7 @@ typedef int64_t FileOffset; #define ftello ftello64 typedef off64_t FileOffset; #elif CONFIG_OS_SUPPORT +#include /* NOLINT */ typedef off_t FileOffset; /* Use 32-bit file operations in WebM file format when building ARM * executables (.axf) with RVCT. */ -- 2.50.1