summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/uidswap.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2006-07-06 16:03:54 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2006-07-06 16:03:54 +0000
commit3e5dda7b859c760637a02baab3070275c99c874c (patch)
treea28ad01bcb3bcb2aa13a26994539ab9f9f57c852 /usr.bin/ssh/uidswap.h
parent233c4b284aafd55220503b11f052d8e1e17b94dd (diff)
move #include <pwd.h> out of includes.h; ok markus@
Diffstat (limited to 'usr.bin/ssh/uidswap.h')
-rw-r--r--usr.bin/ssh/uidswap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/uidswap.h b/usr.bin/ssh/uidswap.h
index f827782d5b2..436c10f7569 100644
--- a/usr.bin/ssh/uidswap.h
+++ b/usr.bin/ssh/uidswap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uidswap.h,v 1.11 2006/06/08 14:45:49 markus Exp $ */
+/* $OpenBSD: uidswap.h,v 1.12 2006/07/06 16:03:53 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -15,6 +15,10 @@
#ifndef UIDSWAP_H
#define UIDSWAP_H
+#include <sys/types.h>
+
+#include <pwd.h>
+
void temporarily_use_uid(struct passwd *);
void restore_uid(void);
void permanently_set_uid(struct passwd *);