summaryrefslogtreecommitdiff
path: root/rtemsNfs/src/sock_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsNfs/src/sock_mbuf.c')
-rw-r--r--rtemsNfs/src/sock_mbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtemsNfs/src/sock_mbuf.c b/rtemsNfs/src/sock_mbuf.c
index 70c09d6..217d8b6 100644
--- a/rtemsNfs/src/sock_mbuf.c
+++ b/rtemsNfs/src/sock_mbuf.c
@@ -85,6 +85,8 @@ SOFTWARE.
#include <rtems/error.h>
#define KERNEL
+#define _KERNEL
+#define __BSD_VISIBLE 1
#include <rtems/rtems_bsdnet.h>
#include <sys/errno.h>