summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/crond.c2
-rw-r--r--miscutils/devfsd.c11
2 files changed, 4 insertions, 9 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index fd20e6a..0df143a 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -11,8 +11,8 @@
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
-#include <sys/syslog.h>
#include "libbb.h"
+#include <syslog.h>
#ifndef CRONTABS
#define CRONTABS "/var/spool/cron/crontabs"
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 9990142..52a65bc 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -53,17 +53,12 @@
The postal address is:
Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.
*/
-
-//#include <sys/wait.h>
-//#include <sys/ioctl.h>
-//#include <sys/socket.h>
-#include <sys/un.h>
-#include <dirent.h>
-#include <syslog.h>
-#include <sys/sysmacros.h>
#include "libbb.h"
#include "xregex.h"
+#include <syslog.h>
+#include <sys/un.h>
+#include <sys/sysmacros.h>
/* Various defines taken from linux/major.h */
#define IDE0_MAJOR 3