mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fix compiler errors
This commit is contained in:
parent
cd3307ccd4
commit
32b809b50c
@ -22,6 +22,7 @@
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <libio.h>
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
static const size_t handle_buffer_size = 4096;
|
static const size_t handle_buffer_size = 4096;
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <sys/select.h>
|
#include <sys/select.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
// Clamps a value to two boundaries.
|
// Clamps a value to two boundaries.
|
||||||
#define clamp(x, lb, hb) (x < lb ? lb : (x > hb ? hb : x))
|
#define clamp(x, lb, hb) (x < lb ? lb : (x > hb ? hb : x))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user