From: José Fonseca Date: Sat, 17 Mar 2012 12:18:27 +0000 (+0000) Subject: Ensure lseek is defined and declared on MSVC. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=16a32d018329cf8615e6c544f1d6c96ede89cb16;p=apitrace Ensure lseek is defined and declared on MSVC. --- diff --git a/common/trace_file_zlib.cpp b/common/trace_file_zlib.cpp index 3a01df3..5e5d5de 100644 --- a/common/trace_file_zlib.cpp +++ b/common/trace_file_zlib.cpp @@ -33,6 +33,14 @@ #include #include +// for lseek +#ifdef _WIN32 +#include +#else +#include +#include +#endif + #include "os.hpp" #include