Common: Cleanup memory and misc includes.

This commit is contained in:
Emmanuel Gil Peyrot 2015-06-21 13:12:49 +01:00
parent 3a771a13dc
commit 2d044a67c9
10 changed files with 22 additions and 25 deletions

View file

@ -17,12 +17,16 @@
#pragma once
#if defined(__linux__)
#include <byteswap.h>
#if defined(_MSC_VER)
#include <cstdlib>
#elif defined(__linux__)
#include <byteswap.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>
#include <sys/endian.h>
#endif
#include "common/common_types.h"
// GCC 4.6+
#if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)