home *** CD-ROM | disk | FTP | other *** search
- #ifndef STRUCT_UCRED_H
- #define STRUCT_UCRED_H
-
- /* On an optimal system, this file would contain solely: */
- /* #include <sys/user.h> */
-
- #include "structuser.h"
- #include "confsysucred.h"
- #include "confhaveucred.h"
- #ifdef HAVE_UCRED
- #ifdef SYSUCRED
- #include <sys/ucred.h> /* dorks */
- #endif
- #else
- /* XXX: If the system doesn't support ucreds, some operations on them
- won't make sense. */
- struct ucred
- {
- long uid;
- }
- ;
- #endif
-
- #endif
-