diff --git a/src/osd/osd_peering_pg_test.cpp b/src/osd/osd_peering_pg_test.cpp index 184094b4..054fdba3 100644 --- a/src/osd/osd_peering_pg_test.cpp +++ b/src/osd/osd_peering_pg_test.cpp @@ -1,7 +1,9 @@ // Copyright (c) Vitaliy Filippov, 2019+ // License: VNPL-1.1 (see README.md for details) +#ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE +#endif #include "malloc_or_die.h" #include "osd_peering_pg.h" diff --git a/src/test/test_shit.cpp b/src/test/test_shit.cpp index 0a03be25..4eeab4fc 100644 --- a/src/test/test_shit.cpp +++ b/src/test/test_shit.cpp @@ -1,7 +1,10 @@ // Copyright (c) Vitaliy Filippov, 2019+ // License: VNPL-1.1 (see README.md for details) +#ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE +#endif + #include #include #include