diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-18 10:05:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-02-18 10:06:02 +0100 |
commit | af02f4644f353cc907722fbde45a7fed576d922a (patch) | |
tree | e4479f71e5f7d7d44554382f323e58455aa0cf18 /rtemsbsd/rtems | |
parent | C++ compatibility for some kernel-space headers (diff) | |
download | rtems-libbsd-af02f4644f353cc907722fbde45a7fed576d922a.tar.bz2 |
Build C++ kernel-space compatibility file
Diffstat (limited to 'rtemsbsd/rtems')
-rw-r--r-- | rtemsbsd/rtems/rtems-bsd-cxx.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-cxx.cc b/rtemsbsd/rtems/rtems-bsd-cxx.cc index 8ae13d47..aadb25af 100644 --- a/rtemsbsd/rtems/rtems-bsd-cxx.cc +++ b/rtemsbsd/rtems/rtems-bsd-cxx.cc @@ -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> |