aboutsummaryrefslogtreecommitdiff
path: root/miscutils/eject.c
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
commitc89982dcd78b3076cf131dae3ec4ca4b83f1b4da (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/eject.c
parentdeda6a5c0d00d02813cfda0d6262a24462909e9f (diff)
downloadbusybox-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.gz
busybox-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.bz2
- move #include busybox.h to the very top so we pull in the config
and eventual platform specific includes in early.
Diffstat (limited to 'miscutils/eject.c')
-rw-r--r--miscutils/eject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c
index d9cb0f67b..a402e49c6 100644
--- a/miscutils/eject.c
+++ b/miscutils/eject.c
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
/*
* eject implementation for busybox
*
@@ -12,12 +13,12 @@
* Most of the dirty work blatantly ripped off from cat.c =)
*/
+#include "busybox.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/mount.h>
#include <mntent.h>
-#include "busybox.h"
/* various defines swiped from linux/cdrom.h */
#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */