From 4a7be22b5a711bf007cd7b77de54eb45fb30e6ee Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 25 Oct 2018 10:03:46 +0200 Subject: [PATCH] posix: Fix build with POSIX API disabled Update #2514. --- cpukit/include/rtems/config.h | 14 +------------- 1 file changed, 1 insertion(+), 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 - -/* - * This is kind of kludgy but it allows targets to totally ignore the - * optional APIs like POSIX safely. - */ - -#ifdef RTEMS_POSIX_API -#include -#else -typedef void *posix_api_configuration_table; -#endif - #include - +#include #include #if defined(RTEMS_MULTIPROCESSING) #include