- (djm) [loginrec.c ssh-rand-helper.c sshd.c openbsd-compat/glob.c]
[openbsd-compat/mktemp.c openbsd-compat/openbsd-compat.h]
[openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c]
[openbsd-compat/xcrypt.c] Fix includes.h fallout, mainly fcntl.h
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index 37c979f..6231e03 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -1,4 +1,4 @@
-/* $Id: openbsd-compat.h,v 1.37 2006/06/30 00:51:32 dtucker Exp $ */
+/* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@@ -31,6 +31,9 @@
#include "includes.h"
+#include <sys/types.h>
+#include <pwd.h>
+
/* OpenBSD function replacements */
#include "base64.h"
#include "sigact.h"
@@ -131,8 +134,6 @@
#include "bsd-misc.h"
#include "bsd-waitpid.h"
-/*#include <sys/types.h> XXX Still needed? * For uid_t, gid_t * */
-
#ifndef HAVE_GETPEEREID
int getpeereid(int , uid_t *, gid_t *);
#endif
@@ -177,7 +178,6 @@
char *xcrypt(const char *password, const char *salt);
char *shadow_pw(struct passwd *pw);
-
/* rfc2553 socket API replacements */
#include "fake-rfc2553.h"