summaryrefslogtreecommitdiff
path: root/package/sash/src/ps.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-11-06 03:07:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-11-06 03:29:21 +0100
commit7cb73425031559dab19e613554622bf9e51a6b56 (patch)
tree63b0d552a280e66dd50071679e46c66d6b31ad1b /package/sash/src/ps.c
parentbead6c0dd67eaba7c03efa72a0897f9cbe272372 (diff)
sash: cleanup for musl compile
Diffstat (limited to 'package/sash/src/ps.c')
-rw-r--r--package/sash/src/ps.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/sash/src/ps.c b/package/sash/src/ps.c
index ed4226cc9..cc31d2398 100644
--- a/package/sash/src/ps.c
+++ b/package/sash/src/ps.c
@@ -18,15 +18,11 @@
#include <pwd.h>
#include <grp.h>
#include <time.h>
+#include <unistd.h>
#include <linux/major.h>
-#ifdef __UC_LIBC_
-#include <linux/types.h>
-#endif
+#include <linux/param.h>
#include <sys/time.h>
#include <sys/param.h>
-#ifdef __UC_LIBC__
-#include <mathf.h>
-#endif
char psbuf[256];
char name[40];
@@ -57,6 +53,7 @@ void dev_to_name(dev_t dev, char * ttyname)
void
do_ps(argc, argv)
+ int argc;
char **argv;
{
int i;