summaryrefslogtreecommitdiff
path: root/sbin/fdisk/cmd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 18:45:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-03-21 18:45:59 +0000
commit4b1e3c67f636009f717ee308a0a9314aca0b2c66 (patch)
treed0c2eff5d56ed4d3fb1cf20d980a4c4a7aca0f45 /sbin/fdisk/cmd.c
parent2a0ba084e0f8e0c21558eead3b0097b600021666 (diff)
more substantial include cleanup
Diffstat (limited to 'sbin/fdisk/cmd.c')
-rw-r--r--sbin/fdisk/cmd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/fdisk/cmd.c b/sbin/fdisk/cmd.c
index 5bc84e26c56..4c84a5286af 100644
--- a/sbin/fdisk/cmd.c
+++ b/sbin/fdisk/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.59 2013/03/21 18:37:07 deraadt Exp $ */
+/* $OpenBSD: cmd.c,v 1.60 2013/03/21 18:45:58 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -25,6 +25,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/types.h>
+#include <sys/fcntl.h>
+#include <sys/disklabel.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
@@ -33,8 +36,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
-#include <sys/fcntl.h>
-#include <sys/disklabel.h>
#include <limits.h>
#include "disk.h"
#include "misc.h"