Build C++ kernel-space compatibility file

This commit is contained in:
Sebastian Huber
2019-02-18 10:05:32 +01:00
parent c352e6979d
commit af02f4644f
2 changed files with 4 additions and 2 deletions

View File

@@ -32,6 +32,8 @@
#define __STDC_LIMIT_MACROS
#define __STDC_CONSTANT_MACROS
#include <machine/rtems-bsd-kernel-space.h>
/*
* Include this outside the extern "C", since we may include <atomic> via
* <rtems.h> which uses templates.
@@ -40,10 +42,9 @@
extern "C" {
#include <machine/rtems-bsd-kernel-space.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/lock.h>
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>