Fix compiler errors

This commit is contained in:
rdb 2009-10-10 12:38:13 +00:00
parent cd3307ccd4
commit 32b809b50c
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <libio.h>
#endif // _WIN32
static const size_t handle_buffer_size = 4096;

View File

@ -23,6 +23,7 @@
#include <sys/wait.h>
#include <sys/select.h>
#include <signal.h>
#include <stdint.h>
// Clamps a value to two boundaries.
#define clamp(x, lb, hb) (x < lb ? lb : (x > hb ? hb : x))