zephyr/include/zephyr/posix
Chris Friedt d0671041c7 posix: posix_signal.h: move stack_t definition above ucontext_t
The `ucontext_t` structure includes a `stack_t` structure, so move the
definition of the `stack_t` structure ahead of `ucontext_t` to avoid
the error below.

```
In file included from lib/libc/minimal/include/signal.h:41,
                 from lib/posix/options/aio.c:8:
../zephyr/posix/posix_signal.h:204:9: error: unknown type name 'stack_t'
  204 |         stack_t uc_stack;
      |         ^~~~~~~

```

This would have also been fixed by #97855 but that PR still has not been
merged in spite of having had sufficient approvals.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-02-03 08:22:49 -06:00
..
arpa lib: posix: net: Add support for namespaced network symbols 2025-11-17 14:01:32 -05:00
net lib: posix: net: Add support for namespaced network symbols 2025-11-17 14:01:32 -05:00
netinet lib: posix: net: Add support for namespaced network symbols 2025-11-17 14:01:32 -05:00
sys lib: posix: net: Add support for namespaced network symbols 2025-11-17 14:01:32 -05:00
aio.h poxi: aio: include zephyr/toolchain.h for ZRESTRICT 2025-07-04 16:44:02 -10:00
dirent.h posix: include: dirent: rework the dirent.h header 2025-01-08 01:29:06 +01:00
fcntl.h posix: fcntl.h: define constants in terms of zvfs constants 2025-01-05 09:58:54 +01:00
fnmatch.h posix: fnmatch: correct (many) compliance issues 2023-03-03 17:40:14 +09:00
grp.h lib: posix: add stubs for thread-safe grp & pwd functions 2024-08-05 10:17:27 +02:00
mqueue.h posix: switch to using posix_time.h and posix_signal.h 2025-10-01 14:36:55 +03:00
netdb.h lib: posix: net: Add support for namespaced network symbols 2025-11-17 14:01:32 -05:00
poll.h posix: define POLLPRI in posix/poll.h 2024-12-07 14:17:11 +01:00
posix_features.h posix: switch to using posix_time.h and posix_signal.h 2025-10-01 14:36:55 +03:00
posix_limits.h posix: limits: de-duplicate limit logic 2025-09-10 08:27:38 +02:00
posix_signal.h posix: posix_signal.h: move stack_t definition above ucontext_t 2026-02-03 08:22:49 -06:00
posix_time.h posix: time.h: timepsec is a struct not a typedef 2025-10-18 20:33:57 -04:00
posix_types.h posix: posix_types.h: declare pthread_attr_t consistently 2026-02-03 08:22:49 -06:00
pthread.h include: zephyr: fix Doxygen \retval command usage 2025-11-13 23:09:24 +02:00
pwd.h lib: posix: add stubs for thread-safe grp & pwd functions 2024-08-05 10:17:27 +02:00
sched.h posix: sched: move sched_yield() to pthread.c 2025-10-15 11:46:00 -04:00
semaphore.h posix: switch to using posix_time.h and posix_signal.h 2025-10-01 14:36:55 +03:00
stropts.h posix: Implement isastream 2024-04-13 20:23:34 -04:00
syslog.h posix: syslog: add support for syslog 2024-02-29 02:45:01 -05:00
unistd.h posix: switch to using posix_time.h and posix_signal.h 2025-10-01 14:36:55 +03:00