forked from Imagelibrary/rtems
nfsclient: Move defines to cover all header files
This commit is contained in:
@@ -78,6 +78,9 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _KERNEL
|
||||||
|
#define __BSD_VISIBLE 1
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -86,8 +89,6 @@
|
|||||||
#include <rtems/libio.h>
|
#include <rtems/libio.h>
|
||||||
#include <rtems/error.h>
|
#include <rtems/error.h>
|
||||||
|
|
||||||
#define _KERNEL
|
|
||||||
#define __BSD_VISIBLE 1
|
|
||||||
#include <rtems/rtems_bsdnet.h>
|
#include <rtems/rtems_bsdnet.h>
|
||||||
|
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user