config: Conditionally include header

This commit is contained in:
Sebastian Huber
2020-04-16 12:12:53 +02:00
parent 1bb2800102
commit a7a0a36461

View File

@@ -48,9 +48,12 @@
#include <rtems/confdefs/scheduler.h>
#include <rtems/confdefs/unlimited.h>
#include <rtems/score/thread.h>
#include <rtems/posix/threadsup.h>
#include <rtems/rtems/tasksdata.h>
#ifdef RTEMS_POSIX_API
#include <rtems/posix/threadsup.h>
#endif
#ifndef CONFIGURE_MAXIMUM_TASKS
#define CONFIGURE_MAXIMUM_TASKS 0
#endif