Update due to Newlib <sys/cdefs.h> changes

This commit is contained in:
Sebastian Huber 2013-09-20 12:52:44 +02:00
parent fabbca4048
commit a3dde3ee78
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#ifndef _SYS_LINKER_SET_HH_
#define _SYS_LINKER_SET_HH_
#ifndef _SYS_CDEFS_HH_
#ifndef _SYS_CDEFS_H_
#error this file needs sys/cdefs.h as a prerequisite
#endif

View File

@ -31,6 +31,8 @@
/* XXX hack so /opt.../machine/param.h can disable MSIZE and use this one */
#define __NEW_RTEMS_BSD__
#include <sys/cdefs.h>
#ifndef _RTEMS_BSD_BSD_HH_
/* General defines to activate BSD kernel parts */
#define _KERNEL 1