Solaris build fixes from Rob Paisley.

pull/527/merge
Nicholas Marriott 2016-09-08 15:32:15 +01:00
parent f68a908c8a
commit 3ed0973493
2 changed files with 9 additions and 1 deletions

View File

@ -35,6 +35,14 @@
#define ECHOPRT 0
#endif
#ifndef ACCESSPERMS
#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
#endif
#if !defined(FIONREAD) && defined(__sun)
#include <sys/filio.h>
#endif
#ifndef HAVE_BSD_TYPES
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;

View File

@ -16,7 +16,7 @@
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <event.h>