diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-12-16 10:55:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-12-16 14:30:25 +0100 |
commit | fb664a21c25759935247eed0dd56d0ba108cca4d (patch) | |
tree | b1d3e3926732af0dec5fdcf572924d6463636303 /cpukit/libfs/src/nfsclient | |
parent | JFFS2: Do not re-define struct iovec (diff) | |
download | rtems-fb664a21c25759935247eed0dd56d0ba108cca4d.tar.bz2 |
nfsclient: Move defines to cover all header files
Diffstat (limited to 'cpukit/libfs/src/nfsclient')
-rw-r--r-- | cpukit/libfs/src/nfsclient/src/sock_mbuf.c | 5 |
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> |