aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu/bits/utmpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/bits/utmpx.h')
-rw-r--r--sysdeps/gnu/bits/utmpx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h
index b7613a1bee..74befe59e7 100644
--- a/sysdeps/gnu/bits/utmpx.h
+++ b/sysdeps/gnu/bits/utmpx.h
@@ -40,8 +40,13 @@
type is used in `struct utmpx' below. */
struct __exit_status
{
+#ifdef __USE_GNU
+ short int e_termination; /* Process termination status. */
+ short int e_exit; /* Process exit status. */
+#else
short int __e_termination; /* Process termination status. */
short int __e_exit; /* Process exit status. */
+#endif
};