X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/3c0ef6268ff5921062694dbd2cbb80f558aa8d40..c20db29185e56b7702a82221691d0a1a01b86ec6:/openssh/openbsd-compat/bsd-misc.h diff --git a/openssh/openbsd-compat/bsd-misc.h b/openssh/openbsd-compat/bsd-misc.h index 3a85526..3e336dd 100644 --- a/openssh/openbsd-compat/bsd-misc.h +++ b/openssh/openbsd-compat/bsd-misc.h @@ -29,6 +29,7 @@ #include "config.h" +#define get_progname bsd_get_progname char *get_progname(char *argv0); #ifndef HAVE_SETSID @@ -72,5 +73,13 @@ struct timeval { int utimes(char *filename, struct timeval *tvp); #endif /* HAVE_UTIMES */ +#ifndef HAVE_TRUNCATE +int truncate (const char *path, off_t length); +#endif /* HAVE_TRUNCATE */ + +#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP) +int setgroups(size_t size, const gid_t *list); +#endif + #endif /* _BSD_MISC_H */