[rtems-libbsd commit] Update due to Newlib <sys/cdefs.h> changes
Sebastian Huber
sebh at rtems.org
Fri Sep 20 14:16:45 UTC 2013
Module: rtems-libbsd
Branch: master
Commit: a3dde3ee78bc908fb8b38e157014cea511af242b
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a3dde3ee78bc908fb8b38e157014cea511af242b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 20 12:52:44 2013 +0200
Update due to Newlib <sys/cdefs.h> changes
---
freebsd/sys/linker_set.h | 2 +-
rtemsbsd/freebsd/machine/rtems-bsd-config.h.in | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/freebsd/sys/linker_set.h b/freebsd/sys/linker_set.h
index 94b307e..2dd056b 100644
--- a/freebsd/sys/linker_set.h
+++ b/freebsd/sys/linker_set.h
@@ -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
diff --git a/rtemsbsd/freebsd/machine/rtems-bsd-config.h.in b/rtemsbsd/freebsd/machine/rtems-bsd-config.h.in
index 926b9b2..15beb14 100644
--- a/rtemsbsd/freebsd/machine/rtems-bsd-config.h.in
+++ b/rtemsbsd/freebsd/machine/rtems-bsd-config.h.in
@@ -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
More information about the vc
mailing list