summaryrefslogtreecommitdiff
path: root/init/mesg.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-02 20:56:16 +0000
commite15d7573a1263fb364d1678c3a46be47a8b5e5ea (patch)
tree09e7b482b38ac571a01e936fb91df16dd1eeef42 /init/mesg.c
parentecae66ac16338d8cddb55e1782ebd8c5f670ff53 (diff)
downloadbusybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.gz
busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.tar.bz2
busybox-w32-e15d7573a1263fb364d1678c3a46be47a8b5e5ea.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 'init/mesg.c')
-rw-r--r--init/mesg.c21
1 files changed, 5 insertions, 16 deletions
diff --git a/init/mesg.c b/init/mesg.c
index 874c22089..7e47644c3 100644
--- a/init/mesg.c
+++ b/init/mesg.c
@@ -1,26 +1,15 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * mesg implementation for busybox 3 * mesg implementation for busybox
3 * 4 *
4 * Copyright (c) 2002 Manuel Novoa III <mjn3@codepoet.org> 5 * Copyright (c) 2002 Manuel Novoa III <mjn3@codepoet.org>
5 * 6 *
6 * This program is free software; you can redistribute it and/or modify 7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */ 8 */
20 9
10#include "busybox.h"
21#include <unistd.h> 11#include <unistd.h>
22#include <stdlib.h> 12#include <stdlib.h>
23#include "busybox.h"
24 13
25#ifdef USE_TTY_GROUP 14#ifdef USE_TTY_GROUP
26#define S_IWGRP_OR_S_IWOTH S_IWGRP 15#define S_IWGRP_OR_S_IWOTH S_IWGRP