diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |