1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 14:07:46 +00:00

Fixed building on newer GCC

This commit is contained in:
Maru 2017-08-28 16:13:23 -03:00
parent d3b5ef15b2
commit d7525b2471
3 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,4 @@
#include <math.h>
#include <cmath>
#include "UtilMath.h"
float Core::Math::Util::distanceSq( float x, float y, float z, float x1, float y1, float z1 )

View file

@ -2,6 +2,7 @@
#include <stdlib.h>
#include <time.h>
#include <stdint.h>
#include <cmath>
#include <src/servers/Server_Common/Database/Database.h>
#include <src/servers/Server_Common/Logging/Logger.h>

View file

@ -3,6 +3,7 @@
#include "CalcBattle.h"
#include "Actor.h"
#include "Player.h"
#include <cmath>
using namespace Core::Entity;