home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / osi / isode / vmsisode / vmsisode80_tar.Z / vmsisode80_tar / sockit / gccinclude / x11 / xos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-04-24  |  1.4 KB  |  56 lines

  1. /* $Header: Xos.h,v 1.3 87/12/16 16:45:16 rws Exp $ */
  2. /* 
  3.  * Copyright 1987 by the Massachusetts Institute of Technology
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose and without fee is hereby granted, provided 
  7.  * that the above copyright notice appear in all copies and that both that 
  8.  * copyright notice and this permission notice appear in supporting 
  9.  * documentation, and that the name of M.I.T. not be used in advertising
  10.  * or publicity pertaining to distribution of the software without specific, 
  11.  * written prior permission. M.I.T. makes no representations about the 
  12.  * suitability of this software for any purpose.  It is provided "as is"
  13.  * without express or implied warranty.
  14.  *
  15.  * The X Window System is a Trademark of MIT.
  16.  *
  17.  */
  18.  
  19. /* This is a collection of things to try and minimize system dependencies
  20.  * in a "signficant" number of source files.
  21.  */
  22.  
  23. #ifndef _XOS_H_
  24. #define _XOS_H_
  25.  
  26. #include <sys/types.h>
  27.  
  28. #ifdef SYSV
  29. #include <string.h>
  30. #define index strchr
  31. #define rindex strrchr
  32. #else /* SYSV */
  33. #include <strings.h>
  34. #endif /* SYSV */
  35.  
  36. #ifdef SYSV
  37. #include <fcntl.h>
  38. #endif /* SYSV */
  39. #include <sys/file.h>
  40.  
  41. #ifdef SYSV
  42. #include <time.h>
  43. #else /* SYSV */
  44. #include <sys/time.h>
  45. #endif /* SYSV */
  46.  
  47. #ifdef SYSV
  48. #define SIGCHLD SIGCLD
  49. #endif /* SYSV */
  50.  
  51. #ifdef hpux
  52. #define sigvec sigvector
  53. #endif /* hpux */
  54.  
  55. #endif /* _XOS_H_ */
  56.