From 94933047a7d82b4f23638212fdb2b35b379cbc4f Mon Sep 17 00:00:00 2001
From: Boris Pek <tehnick-8@yandex.ru>
Date: Fri, 30 Aug 2013 21:32:39 +0300
Subject: [PATCH] Fixed compilation warning

---
 mongoose.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mongoose.c b/mongoose.c
index efb3441cb..8cd20fafe 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -23,7 +23,9 @@
 #ifdef __linux__
 #define _XOPEN_SOURCE 600     // For flockfile() on Linux
 #endif
+#if !defined(_LARGEFILE_SOURCE)
 #define _LARGEFILE_SOURCE     // Enable 64-bit file offsets
+#endif
 #define __STDC_FORMAT_MACROS  // <inttypes.h> wants this for C++
 #define __STDC_LIMIT_MACROS   // C++ wants that for INT64_MAX
 #endif
-- 
GitLab