home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 May / W2KPRK.iso / apps / posix / source / SH / STD / POSIX / IO.H < prev    next >
C/C++ Source or Header  |  1999-11-17  |  1KB  |  15 lines

  1. /* work around multiple typedefs in stddef.h and sys/types.h */
  2.  
  3. #include <stddef.h>        /* defines size_t and ptrdiff_t */
  4. #include <time.h>        /* defines time_t and clock_t */
  5.  
  6. /* "inhibit" the typedefs in sys/types.h */
  7. #define size_t _size_t
  8. #define    time_t _time_t
  9. #define    clock_t _clock_t
  10. #include "/./usr/include/sys/types.h"
  11. #undef    size_t
  12. #undef    time_t
  13. #undef    clock_t
  14.