Define IFCAP_NOMAP for Newlib compatibility

This commit is contained in:
Sebastian Huber
2022-07-07 13:46:39 +02:00
parent 2f7103677c
commit 30116094a9
2 changed files with 6 additions and 0 deletions

View File

@@ -58,6 +58,9 @@
/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */ /* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
#define IN_HISTORICAL_NETS #define IN_HISTORICAL_NETS
/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
#define IFCAP_NOMAP 0x4000000
#include <machine/rtems-bsd-version.h> #include <machine/rtems-bsd-version.h>
#include <machine/rtems-bsd-kernel-namespace.h> #include <machine/rtems-bsd-kernel-namespace.h>

View File

@@ -50,6 +50,9 @@
#include <stdio.h> #include <stdio.h>
/* REVIEW-AFTER-FREEBSD-BASELINE-UPDATE */
#define IFCAP_NOMAP 0x4000000
#define O_CLOEXEC 0 #define O_CLOEXEC 0
#define O_DIRECTORY 0 #define O_DIRECTORY 0