/* Copyright 1993,1994 by Paul Vixie
* Distribute freely, except: don't remove my name from the source or
* documentation (don't take credit for my work), mark your changes (don't
* get me blamed for your possible bugs), don't alter or remove this
* notice. May be sold if buildable source is provided to buyer. No
* warrantee of any kind, express or implied, is included with this
* software; use at your own risk, responsibility for damages (if any) to
* anyone resulting from the use of this software rests entirely with the
* Send bug reports, bug fixes, enhancements, requests, flames, etc., and
* I'll try to keep a version up to date. I can be reached as follows:
* Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
* From Id: compat.h,v 1.8 1994/01/15 20:43:43 vixie Exp
#if defined(UNIXPC) || defined(unixpc)
#if defined(hpux) || defined(_hpux) || defined(__hpux)
# define seteuid(e) setresuid(-1,e,-1)
# define setreuid(r,e) setresuid(r,e,-1)
#if defined(sgi) || defined(_sgi) || defined(__sgi)
/* IRIX 4 hdrs are broken: one cannot #include both <stdio.h>
* and <stdlib.h> because they disagree on system(), perror().
* Therefore we must zap the "const" keyword BEFORE including
# if (BSD >= 199103) || defined(__linux) || defined(ultrix) || defined(AIX) ||\
defined(HPUX) || defined(CONVEX) || defined(IRIX)
/*****************************************************************/
#if !defined(BSD) && !defined(HPUX) && !defined(CONVEX) && !defined(__linux)
#if (!defined(BSD) || (BSD < 198902)) && !defined(__linux) && \
!defined(IRIX) && !defined(NeXT) && !defined(HPUX)
#if (!defined(BSD) || (BSD < 198911)) && !defined(__linux) &&\
!defined(IRIX) && !defined(UNICOS) && !defined(HPUX)
#if (!defined(BSD) || (BSD < 198911)) && !defined(POSIX) && !defined(NeXT)
#if defined(HPUX) || defined(AIX) || defined(UNIXPC)
#if (defined(POSIX) && !defined(BSD)) && !defined(__linux)
# define NEED_GETDTABLESIZE
#if !defined(ATT) && !defined(__linux) && !defined(IRIX) && !defined(UNICOS)
#if !defined(AIX) && !defined(UNICOS)
#if defined(BSD) && !defined(POSIX)
#if defined(AIX) || defined(HPUX) || defined(IRIX)
#if !defined(UNICOS) && !defined(UNIXPC)
#if !defined(UNICOS) && !defined(UNIXPC)