Fix compilation on musl libc

This commit is contained in:
prez
2022-04-11 17:09:36 +02:00
parent f039755bde
commit 365a333b1d
5 changed files with 1 additions and 14 deletions

View File

@@ -3,10 +3,7 @@
#include <string>
#include <map>
#ifdef __APPLE__
#include <sys/types.h>
#endif
#include "Shader.h"

View File

@@ -3,9 +3,7 @@
#include <string>
#include <map>
#ifdef __APPLE__
#include <sys/types.h>
#endif
namespace Resource
{
@@ -14,7 +12,7 @@ namespace Resource
// return file tyext content as one string
std::string getText(const std::string& path);
// Support DDS files, DXT1, DXT5 and DXT5
// Support DDS files, DXT1, DXT5 and DXT5
// Returns the OpenGL generated Texture index
uint getTextureDDS(const std::string& path, float *aspect_ratio = nullptr);

View File

@@ -3,10 +3,7 @@
#define INVALID_ID -1
#ifdef __APPLE__
#include <sys/types.h>
#endif
#include <set>
#include <list>
#include <vector>

View File

@@ -1,10 +1,7 @@
#ifndef __SETTINGS_H_
#define __SETTINGS_H_
#ifdef __APPLE__
#include <sys/types.h>
#endif
#include <string>
#include <map>
#include <vector>

View File

@@ -2,9 +2,7 @@
#define TINYXML2TOOLKIT_H
#include <string>
#ifdef __APPLE__
#include <sys/types.h>
#endif
#include <glm/glm.hpp>