The definition of PTHREAD_STACK_MIN in pthread.h
depends on PAGE_SIZE. PAGE_SIZE is not defined
in pthread.h, so whoever wants to use PTHREAD_STACK_MIN
needs to include first asm/page.h.
Including pthread.h should be enough to have a valid
definition of PTHREAD_STACK_MIN. Including asm/page.h
in pthread.h so that PAGE_SIZE is visibile and the
definition for PTHREAD_STACK_MIN valid.
For: AIA-452
Change-Id: I2a0de73aa6482894b03ed792cb69485ec61a217e
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
#include <sched.h>
#include <limits.h>
#include <sys/types.h>
+#include <asm/page.h>
/*
* Types