diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 10:03:46 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-25 10:03:46 +0200 |
commit | 4a7be22b5a711bf007cd7b77de54eb45fb30e6ee (patch) | |
tree | e25f2f24aed523d06880cce7a2374cf621cf6c2e /cpukit/include/rtems/config.h | |
parent | config: Modify CONFIGURE_INTERRUPT_STACK_SIZE (diff) | |
download | rtems-4a7be22b5a711bf007cd7b77de54eb45fb30e6ee.tar.bz2 |
posix: Fix build with POSIX API disabled
Update #2514.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r-- | cpukit/include/rtems/config.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h index 248ace0721..9cc4115005 100644 --- a/cpukit/include/rtems/config.h +++ b/cpukit/include/rtems/config.h @@ -44,20 +44,8 @@ extern "C" { _Objects_Maximum_per_allocation(resource) #include <rtems/score/watchdog.h> - -/* - * This is kind of kludgy but it allows targets to totally ignore the - * optional APIs like POSIX safely. - */ - -#ifdef RTEMS_POSIX_API -#include <rtems/posix/config.h> -#else -typedef void *posix_api_configuration_table; -#endif - #include <rtems/rtems/config.h> - +#include <rtems/posix/config.h> #include <rtems/extension.h> #if defined(RTEMS_MULTIPROCESSING) #include <rtems/score/mpci.h> |