Solaris has no u_int32_t etc.

This commit is contained in:
Nicholas Marriott
2009-08-20 12:49:18 +00:00
parent 9311e4255e
commit 2f517111ef
2 changed files with 15 additions and 2 deletions

View File

@ -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/"