summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/pf/pfctl/pfctl_qstats.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_qstats.c')
-rw-r--r--freebsd/contrib/pf/pfctl/pfctl_qstats.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl_qstats.c b/freebsd/contrib/pf/pfctl/pfctl_qstats.c
index 3589f6f4..502b52e7 100644
--- a/freebsd/contrib/pf/pfctl/pfctl_qstats.c
+++ b/freebsd/contrib/pf/pfctl/pfctl_qstats.c
@@ -18,6 +18,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef __rtems__
+#include <machine/rtems-bsd-program.h>
+#endif /* __rtems__ */
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@@ -455,3 +458,6 @@ update_avg(struct pf_altq_node *a)
if (n < AVGN_MAX)
qs->avgn++;
}
+#ifdef __rtems__
+#include "pfctl_qstats-data.h"
+#endif /* __rtems__ */