summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-18 16:03:11 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-18 16:03:11 +0000
commitc730d6780fe9ea61c225bd9f5652f2bbe636dcfb (patch)
tree1543ae4111cc3db150804a2c2f8465bb8803fd41 /sysdeps
parent51c68755af9bf02a88792b8caff9cf516a262684 (diff)
downloadglibc-c730d6780fe9ea61c225bd9f5652f2bbe636dcfb.tar.gz
glibc-c730d6780fe9ea61c225bd9f5652f2bbe636dcfb.tar.xz
glibc-c730d6780fe9ea61c225bd9f5652f2bbe636dcfb.zip
Update.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Include
	features.h and stddef.h.
	* sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h (struct
	sigaltstack): Move ss_size field at the end.
	Patches by Jeff Bailey <jbailey@nisa.net>.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h2
-rw-r--r--sysdeps/unix/sysv/sysv4/solaris2/bits/types.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h b/sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h
index 6c6ccae6a5..905e87fd95 100644
--- a/sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h
+++ b/sysdeps/unix/sysv/sysv4/solaris2/bits/sigstack.h
@@ -50,6 +50,6 @@ enum
 typedef struct sigaltstack
   {
     __ptr_t ss_sp;
-    size_t ss_size;
     int ss_flags;
+    size_t ss_size;
   } stack_t;
diff --git a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
index aeba05b7b3..8c4a13ada9 100644
--- a/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
+++ b/sysdeps/unix/sysv/sysv4/solaris2/bits/types.h
@@ -23,6 +23,10 @@
 #ifndef	_BITS_TYPES_H
 #define	_BITS_TYPES_H	1
 
+#include <features.h>
+
+#define __need_size_t
+#include <stddef.h>
 
 /* Convenience types.  */
 typedef unsigned char __u_char;