summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-06-29 21:59:09 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-06-29 21:59:09 +0000
commite69a43ea621362d03109bb530040f1b076d8d1f8 (patch)
tree5e217a8eaac7e8e2a2e2fd632d7482819fe1e4b5 /usr.bin
parentb84fff708dd468c0451c1ce2dda20f3611a3027a (diff)
- use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning)
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says ok kjell
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/fileio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/fileio.c b/usr.bin/mg/fileio.c
index a06b30f274f..ab6dbd3b6d6 100644
--- a/usr.bin/mg/fileio.c
+++ b/usr.bin/mg/fileio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fileio.c,v 1.75 2006/06/01 05:56:51 kjell Exp $ */
+/* $OpenBSD: fileio.c,v 1.76 2006/06/29 21:59:08 jason Exp $ */
/* This file is in the public domain. */
@@ -8,15 +8,15 @@
#include "def.h"
-#include <sys/dir.h>
-#include <sys/resource.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
+#include <sys/resource.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <limits.h>
+#include <dirent.h>
#include <pwd.h>
#include <string.h>
#include <unistd.h>