#ifndef included_a_s_h
#define included_a_s_h

/*****************************************************************************/
/*                                                                           */
/* Copyright (c) 1990-2001 Morgan Stanley Dean Witter & Co. All rights reserved.*/
/* See .../src/LICENSE for terms of distribution.                           */
/*                                                                           */
/*                                                                           */
/*****************************************************************************/

#include <a/f.h>
#include <stdio.h>

#if defined(_AIX) || defined(HAVE_SVR4) || defined(__osf__) || defined(_HP)

# ifndef _HP
#  define Vol volatile
# else
#  define Vol
# endif

# include <sys/termio.h>
# define SH(x) (sprintf(b,s,x),strlen(b))
#else
# if defined(_LCC_LIB) || defined(__VISUAL_C_2_0__)
#  define Vol volatile
#  include <sys/termio.h>
#  define SH(x) ((unsigned long) (sprintf(b,s,x),strlen(b)))
# else
#  if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
#   define Vol
#   include <sys/termios.h>
#   define SH(x) (sprintf(b,s,x),strlen(b))
#  else
#   define Vol
#   include <sys/termios.h>
#   include <sys/filio.h>
#   define SH(x) strlen((DEV_STRARG)sprintf(b,s,x))
#  endif
# endif
#endif

/* HP like AIX 
 mmap?
 getrusage - times
 atanh acosh asinh
 random srandom - rand srand
*/

#endif
