aboutsummaryrefslogtreecommitdiff
path: root/misc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys')
-rw-r--r--misc/sys/select.h2
-rw-r--r--misc/sys/ustat.h8
2 files changed, 7 insertions, 3 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index dcb2012cff..729ce7a988 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -39,6 +39,8 @@ __BEGIN_DECLS
of `struct timeval'. */
struct timeval;
+typedef __fd_mask fd_mask;
+
/* Representation of a set of file descriptors. */
#define fd_set __fd_set
diff --git a/misc/sys/ustat.h b/misc/sys/ustat.h
index 57086c96da..fd51c5904e 100644
--- a/misc/sys/ustat.h
+++ b/misc/sys/ustat.h
@@ -20,15 +20,17 @@ Cambridge, MA 02139, USA. */
/* This interface is obsolete. Use <sys/statfs.h> instead. */
#ifndef _SYS_USTAT_H
-#define _SYS_USTAT_H 1
+
+#define _SYS_USTAT_H 1
+#include <features.h>
#include <sys/types.h>
#include <ustatbits.h>
__BEGIN_DECLS
-extern int __ustat __P ((dev_t, struct ustat *));
-extern int ustat __P ((dev_t, struct ustat *));
+extern int __ustat __P ((__dev_t __dev, struct ustat *__ubuf));
+extern int ustat __P ((__dev_t __dev, struct ustat *__ubuf));
__END_DECLS