diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2007-02-27 14:21:41 +0000 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2010-08-06 15:37:36 +0200 |
commit | fe2c74572f875332b461ba2a17a594a7ee4eb2d3 (patch) | |
tree | 84ca26e3f0168158823d7c741479e37ba069a862 /control.h | |
parent | fcdc0798bb2be5fa00427240afda6bdfd3d0a392 (diff) |
supported compilation on Solaris (contributed by James Carlson)
Diffstat (limited to 'control.h')
-rw-r--r-- | control.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -29,6 +29,17 @@ * SUCH DAMAGE. */ +#ifdef __sun__ +#ifndef U_INT16_T_DEFINED +#define U_INT16_T_DEFINED +typedef uint16_t u_int16_t; +#endif +#ifndef U_INT32_T_DEFINED +#define U_INT32_T_DEFINED +typedef uint32_t u_int32_t; +#endif +#endif + #define DEFAULT_SERVER_CONTROL_ADDR "::1" /* default IPv6 address for server * control socket */ #define DEFAULT_SERVER_CONTROL_PORT "5547" /* default TCP port for server |