summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-12-16 10:55:27 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-12-16 14:30:25 +0100
commitfb664a21c25759935247eed0dd56d0ba108cca4d (patch)
treeb1d3e3926732af0dec5fdcf572924d6463636303 /cpukit
parentJFFS2: Do not re-define struct iovec (diff)
downloadrtems-fb664a21c25759935247eed0dd56d0ba108cca4d.tar.bz2
nfsclient: Move defines to cover all header files
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libfs/src/nfsclient/src/sock_mbuf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/libfs/src/nfsclient/src/sock_mbuf.c b/cpukit/libfs/src/nfsclient/src/sock_mbuf.c
index 3f07b757b5..d41836b100 100644
--- a/cpukit/libfs/src/nfsclient/src/sock_mbuf.c
+++ b/cpukit/libfs/src/nfsclient/src/sock_mbuf.c
@@ -78,6 +78,9 @@
#include "config.h"
#endif
+#define _KERNEL
+#define __BSD_VISIBLE 1
+
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
@@ -86,8 +89,6 @@
#include <rtems/libio.h>
#include <rtems/error.h>
-#define _KERNEL
-#define __BSD_VISIBLE 1
#include <rtems/rtems_bsdnet.h>
#include <sys/errno.h>