summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/pf/pfctl/pfctl_osfp.c
diff options
context:
space:
mode:
authorChristian Mauderer <Christian.Mauderer@embedded-brains.de>2016-07-05 16:31:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-08-03 14:13:18 +0200
commit4831944a2b4204c907018ad99fdaef2e48c604ad (patch)
tree71a4fd670d503c4632e2244cc40c569d860fb1e2 /freebsd/contrib/pf/pfctl/pfctl_osfp.c
parentpfctl: Use static where possible. (diff)
downloadrtems-libbsd-4831944a2b4204c907018ad99fdaef2e48c604ad.tar.bz2
pfctl: Adapt for RTEMS.
Diffstat (limited to 'freebsd/contrib/pf/pfctl/pfctl_osfp.c')
-rw-r--r--freebsd/contrib/pf/pfctl/pfctl_osfp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/contrib/pf/pfctl/pfctl_osfp.c b/freebsd/contrib/pf/pfctl/pfctl_osfp.c
index 3183a046..2085af68 100644
--- a/freebsd/contrib/pf/pfctl/pfctl_osfp.c
+++ b/freebsd/contrib/pf/pfctl/pfctl_osfp.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 <rtems/bsd/sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
@@ -1125,3 +1128,6 @@ print_ioctl(struct pf_osfp_ioctl *fp)
return (buf);
}
+#ifdef __rtems__
+#include "pfctl_osfp-data.h"
+#endif /* __rtems__ */