home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3296 / structucred.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-05-07  |  437 b   |  25 lines

  1. #ifndef STRUCT_UCRED_H
  2. #define STRUCT_UCRED_H
  3.  
  4. /* On an optimal system, this file would contain solely: */
  5. /* #include <sys/user.h> */
  6.  
  7. #include "structuser.h"
  8. #include "confsysucred.h"
  9. #include "confhaveucred.h"
  10. #ifdef HAVE_UCRED
  11. #ifdef SYSUCRED
  12. #include <sys/ucred.h> /* dorks */
  13. #endif
  14. #else
  15. /* XXX: If the system doesn't support ucreds, some operations on them
  16.    won't make sense. */
  17. struct ucred
  18.  {
  19.   long uid;
  20.  }
  21. ;
  22. #endif
  23.  
  24. #endif
  25.