Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/compat.h @ 2705:20dcf58cc05c HEAD
Add seteuid() wrapper for HP-UX
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 08 Oct 2004 16:33:03 +0300 |
parents | 79790750c349 |
children | c0e2a38b7647 |
line wrap: on
line diff
--- a/src/lib/compat.h Fri Oct 08 15:01:41 2004 +0300 +++ b/src/lib/compat.h Fri Oct 08 16:33:03 2004 +0300 @@ -108,6 +108,10 @@ ssize_t my_pwrite(int fd, const void *buf, size_t count, off_t offset); #endif +#ifndef HAVE_SETEUID +int my_seteuid(uid_t euid); +#endif + /* ctype.h isn't safe with signed chars, use our own instead if really needed */ #define i_toupper(x) ((char) toupper((int) (unsigned char) (x)))