signal.h: Don't include pthread.h to avoid the mutual reference
let's use pthread_attr_s directly
#include <stdint.h>
#include <time.h>
-#ifdef CONFIG_SIG_EVTHREAD
-# include <pthread.h> /* Needed for pthread_attr_t, includes this file */
-#endif
-
/********************************************************************************
* Pre-processor Definitions
********************************************************************************/
@@ -357,7 +353,7 @@ struct sigevent
#ifdef CONFIG_SIG_EVTHREAD
sigev_notify_function_t sigev_notify_function; /* Notification function */
- FAR pthread_attr_t *sigev_notify_attributes; /* Notification attributes (not used) */
+ FAR struct pthread_attr_s *sigev_notify_attributes; /* Notification attributes (not used) */
#endif
};
