add max_align_t definition for C11 and C++11
[musl] / arch / powerpc / bits / signal.h
index 7113b2f..3f9f810 100644 (file)
@@ -49,6 +49,12 @@ typedef struct {
 
 #endif
 
+struct sigaltstack {
+       void *ss_sp;
+       int ss_flags;
+       size_t ss_size;
+};
+
 typedef struct __ucontext {
        unsigned long uc_flags;
        struct __ucontext *uc_link;
@@ -60,12 +66,6 @@ typedef struct __ucontext {
        mcontext_t uc_mcontext;
 } ucontext_t;
 
-typedef struct sigaltstack {
-       void *ss_sp;
-       int ss_flags;
-       size_t ss_size;
-} stack_t;
-
 #define SA_NOCLDSTOP  1U
 #define SA_NOCLDWAIT  2U
 #define SA_SIGINFO    4U