aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/racct.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/racct.h')
-rw-r--r--sys/sys/racct.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/sys/racct.h b/sys/sys/racct.h
index 313d5d05de96..307585680ca0 100644
--- a/sys/sys/racct.h
+++ b/sys/sys/racct.h
@@ -37,9 +37,10 @@
#define _RACCT_H_
#include <sys/cdefs.h>
-#include <sys/stdint.h>
-#include <sys/queue.h>
#include <sys/types.h>
+#include <sys/queue.h>
+#include <sys/stdint.h>
+#include <sys/sysctl.h>
struct proc;
struct rctl_rule_link;
@@ -146,6 +147,8 @@ struct racct {
LIST_HEAD(, rctl_rule_link) r_rule_links;
};
+SYSCTL_DECL(_kern_racct);
+
#ifdef RACCT
int racct_add(struct proc *p, int resource, uint64_t amount);