home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / src / gettime.h < prev    next >
C/C++ Source or Header  |  1992-02-05  |  997b  |  37 lines

  1. /* Include the appropriate header files for things related to time.
  2.    The caller should include sys/socket.h before this file,
  3.    if the system has sockets.   */
  4.  
  5. #ifdef IRIS
  6. #include <sys/sysmacros.h>    /* for "minor" */
  7. #include <sys/time.h>
  8. #else
  9. #ifdef UNIPLUS
  10. #include <sys/time.h>
  11.  
  12. #else /* not IRIS, not UNIPLUS */
  13. #ifdef HAVE_TIMEVAL
  14. /* _h_BSDTYPES is checked because on ISC unix, socket.h includes
  15.    both time.h and sys/time.h, and the latter file is protected
  16.    from repeated inclusion.  */
  17. #if defined(USG) && !defined(AIX) && !defined(_h_BSDTYPES) && !defined(USG_SYS_TIME) && !defined(uts)
  18. #include <time.h>
  19. #else /* AIX or USG_SYS_TIME, or not USG */
  20. #include <sys/time.h>
  21. #endif /* AIX or USG_SYS_TIME, or not USG */
  22. #endif /* HAVE_TIMEVAL */
  23. #endif /* not UNIPLUS */
  24. #endif /* not IRIS */
  25.  
  26. #ifdef BAT68K
  27. #include <sys/time.h>   /* In addition to time.h.  */
  28. #endif
  29.  
  30. #ifdef AIX
  31. #include <sys/time.h>   /* In addition to time.h.  */
  32. #endif
  33.  
  34. #ifdef DPX2
  35. #include <sys/time.h>
  36. #endif
  37.