FreeBSD build fix proposal.
This commit is contained in:
parent
99a5675abe
commit
21cf075e41
@ -88,7 +88,7 @@ void COctreeSceneNode::render()
|
||||
{
|
||||
video::IVideoDriver* driver = SceneManager->getVideoDriver();
|
||||
|
||||
if (VertexType == -1 || !driver)
|
||||
if (VertexType == (video::E_VERTEX_TYPE)-1 || !driver)
|
||||
return;
|
||||
|
||||
ICameraSceneNode* camera = SceneManager->getActiveCamera();
|
||||
|
@ -36,6 +36,7 @@
|
||||
* 1. specify the constants in "configed.H" or "noconfig.H",
|
||||
* 2. append the system-dependent routines in this file.
|
||||
*/
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#if PREPROCESSED
|
||||
#include "mcpp.H"
|
||||
#else
|
||||
|
@ -29,6 +29,7 @@
|
||||
#else
|
||||
# include <netdb.h>
|
||||
# include <netinet/in.h>
|
||||
# include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#include <array>
|
||||
|
@ -42,6 +42,7 @@ extern "C"
|
||||
#include <err.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user