aboutsummaryrefslogtreecommitdiff
path: root/miscutils/eject.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-03 19:49:21 +0000
commitc89982dcd78b3076cf131dae3ec4ca4b83f1b4da (patch)
tree31f480da01f06ac69514532ce37bbcfde2c43e1b /miscutils/eject.c
parentdeda6a5c0d00d02813cfda0d6262a24462909e9f (diff)
downloadbusybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.gz
busybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.tar.bz2
busybox-w32-c89982dcd78b3076cf131dae3ec4ca4b83f1b4da.zip
- 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 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * eject implementation for busybox 3 * eject implementation for busybox
3 * 4 *
@@ -12,12 +13,12 @@
12 * Most of the dirty work blatantly ripped off from cat.c =) 13 * Most of the dirty work blatantly ripped off from cat.c =)
13 */ 14 */
14 15
16#include "busybox.h"
15#include <fcntl.h> 17#include <fcntl.h>
16#include <sys/ioctl.h> 18#include <sys/ioctl.h>
17#include <unistd.h> 19#include <unistd.h>
18#include <sys/mount.h> 20#include <sys/mount.h>
19#include <mntent.h> 21#include <mntent.h>
20#include "busybox.h"
21 22
22/* various defines swiped from linux/cdrom.h */ 23/* various defines swiped from linux/cdrom.h */
23#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */ 24#define CDROMCLOSETRAY 0x5319 /* pendant of CDROMEJECT */