summaryrefslogtreecommitdiff
path: root/games/dm
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-16 17:00:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-16 17:00:18 +0000
commitf614ad9ddbe518d66af1d345c18ac6c1d4b3ec72 (patch)
tree6f9ff210ef26a86ab8a226b9f1192c11e01eb114 /games/dm
parent7f4a7535eb888a8b95b0a6c252954d2464a59753 (diff)
use O_* defines for open(2) flags and include fcntl.h
Diffstat (limited to 'games/dm')
-rw-r--r--games/dm/dm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/dm/dm.c b/games/dm/dm.c
index c19944bdd60..fa5362a454a 100644
--- a/games/dm/dm.c
+++ b/games/dm/dm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dm.c,v 1.11 1999/07/31 18:48:52 pjanzen Exp $ */
+/* $OpenBSD: dm.c,v 1.12 1999/08/16 17:00:14 millert Exp $ */
/* $NetBSD: dm.c,v 1.5 1996/02/06 22:47:20 jtc Exp $ */
/*
@@ -44,18 +44,18 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: dm.c,v 1.11 1999/07/31 18:48:52 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: dm.c,v 1.12 1999/08/16 17:00:14 millert Exp $";
#endif
#endif /* not lint */
#include <sys/param.h>
-#include <sys/file.h>
#include <sys/time.h>
#include <sys/resource.h>
-#include <err.h>
#include <ctype.h>
+#include <err.h>
#include <errno.h>
+#include <fcntl.h>
#include <nlist.h>
#include <pwd.h>
#include <stdio.h>