summaryrefslogtreecommitdiffstats
path: root/larn/header.h
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>1996-05-22 00:36:04 +0000
committermrg <mrg@NetBSD.org>1996-05-22 00:36:04 +0000
commit828801324c4d8462b517d534a818131d842ac1fe (patch)
tree287ae16a5d74464c23106093fdfdcf481c64b575 /larn/header.h
parent9c906fe8393c2c0fdbad40c90606cefc983a91a0 (diff)
downloadbsdgames-darwin-828801324c4d8462b517d534a818131d842ac1fe.tar.gz
bsdgames-darwin-828801324c4d8462b517d534a818131d842ac1fe.tar.zst
bsdgames-darwin-828801324c4d8462b517d534a818131d842ac1fe.zip
oops, we do need privs. do the right seteuid() thing.
Diffstat (limited to 'larn/header.h')
-rw-r--r--larn/header.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/larn/header.h b/larn/header.h
index 01b7487b..f6162229 100644
--- a/larn/header.h
+++ b/larn/header.h
@@ -1,7 +1,9 @@
-/* $NetBSD: header.h,v 1.7 1995/04/24 12:23:54 cgd Exp $ */
+/* $NetBSD: header.h,v 1.8 1996/05/22 00:36:04 mrg Exp $ */
/* header.h Larn is copyrighted 1986 by Noah Morgan. */
+#include <sys/types.h>
+
#define MAXLEVEL 11
/* max # levels in the dungeon */
#define MAXVLEVEL 3
@@ -346,6 +348,7 @@ extern short diroffx[],diroffy[],hitflag,hit2flag,hit3flag,hitp[MAXX][MAXY];
extern short iarg[MAXX][MAXY],ivenarg[],lasthx,lasthy,lastnum,lastpx,lastpy;
extern short nobeep,oldx,oldy,playerx,playery;
extern int dayplay,enable_scroll,srcount,yrepcount,userid,wisid,lfd,fd;
+extern uid_t uid, euid;
extern long initialtime,outstanding_taxes,skill[],gtime,c[],cbak[];
extern unsigned long randx;
extern struct cel *cell;