diff options
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 37c979fa4..6231e03a2 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.37 2006/06/30 00:51:32 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -31,6 +31,9 @@ | |||
31 | 31 | ||
32 | #include "includes.h" | 32 | #include "includes.h" |
33 | 33 | ||
34 | #include <sys/types.h> | ||
35 | #include <pwd.h> | ||
36 | |||
34 | /* OpenBSD function replacements */ | 37 | /* OpenBSD function replacements */ |
35 | #include "base64.h" | 38 | #include "base64.h" |
36 | #include "sigact.h" | 39 | #include "sigact.h" |
@@ -131,8 +134,6 @@ int BSDgetopt(int argc, char * const *argv, const char *opts); | |||
131 | #include "bsd-misc.h" | 134 | #include "bsd-misc.h" |
132 | #include "bsd-waitpid.h" | 135 | #include "bsd-waitpid.h" |
133 | 136 | ||
134 | /*#include <sys/types.h> XXX Still needed? * For uid_t, gid_t * */ | ||
135 | |||
136 | #ifndef HAVE_GETPEEREID | 137 | #ifndef HAVE_GETPEEREID |
137 | int getpeereid(int , uid_t *, gid_t *); | 138 | int getpeereid(int , uid_t *, gid_t *); |
138 | #endif | 139 | #endif |
@@ -177,7 +178,6 @@ void *xmmap(size_t size); | |||
177 | char *xcrypt(const char *password, const char *salt); | 178 | char *xcrypt(const char *password, const char *salt); |
178 | char *shadow_pw(struct passwd *pw); | 179 | char *shadow_pw(struct passwd *pw); |
179 | 180 | ||
180 | |||
181 | /* rfc2553 socket API replacements */ | 181 | /* rfc2553 socket API replacements */ |
182 | #include "fake-rfc2553.h" | 182 | #include "fake-rfc2553.h" |
183 | 183 | ||