mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 06:40:00 +08:00
rtems-bsd-cxx.cc: Fix include order
This commit is contained in:
parent
f59a2da89c
commit
19adb93558
@ -32,6 +32,12 @@
|
|||||||
#define __STDC_LIMIT_MACROS
|
#define __STDC_LIMIT_MACROS
|
||||||
#define __STDC_CONSTANT_MACROS
|
#define __STDC_CONSTANT_MACROS
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Include this outside the extern "C", since we may include <atomic> via
|
||||||
|
* <rtems.h> which uses templates.
|
||||||
|
*/
|
||||||
|
#include <rtems.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
#include <machine/rtems-bsd-kernel-space.h>
|
#include <machine/rtems-bsd-kernel-space.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user