From 542295c863078d9bcc39bbf9ea2b9ebb14085579 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Thu, 5 Feb 2015 17:30:15 -0500 Subject: [PATCH 1/2] remove comptime.h from cmake file list --- src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6c57440f1..74f97048b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -77,7 +77,6 @@ set(SRB2_CORE_HEADERS b_bot.h byteptr.h command.h - comptime.h console.h d_clisrv.h d_event.h From ed0d70fecafb781969ea44d1a0945c2e8a45218f Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Thu, 5 Feb 2015 17:31:32 -0500 Subject: [PATCH 2/2] do not typedef off_t when we do not need to --- src/m_misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/m_misc.c b/src/m_misc.c index 73d17c00d..3e4be62a2 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -50,7 +50,9 @@ #ifdef HAVE_SDL #include "sdl/hwsym_sdl.h" #ifdef __linux__ +#ifndef _LARGEFILE64_SOURCE typedef off_t off64_t; +#neidf #endif #endif