diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 12:49:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 12:49:18 +0000 |
commit | 2f517111effacf71698609aca353cba11da7b516 (patch) | |
tree | 5ba953805b9c0f76954104b301e5992ef3231788 /compat.h | |
parent | 9311e4255e6455399210e1ce1b836575a8b29519 (diff) |
Solaris has no u_int32_t etc.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: compat.h,v 1.13 2009-08-20 12:25:17 nicm Exp $ */ +/* $Id: compat.h,v 1.14 2009-08-20 12:49:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -16,6 +16,13 @@ * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifndef HAVE_U_INT +typedef uint8_t u_int8_t; +typedef uint16_t u_int16_t; +typedef uint32_t u_int32_t; +typedef uint64_t u_int64_t; +#endif + #ifndef HAVE_PATHS_H #define _PATH_BSHELL "/bin/sh" #define _PATH_TMP "/tmp/" |