diff options
author | Kevin E Martin <kem@kem.org> | 2005-10-05 04:10:02 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-10-05 04:10:02 +0000 |
commit | f7e326bd50466f9197e75b2b71ccf0fb1996f4f8 (patch) | |
tree | 9c43748625df46c3ea3c6c3b790cd976fd3a93bb | |
parent | e33c62dfa7641e8e37a2ef64d98aa5171f2ef705 (diff) |
Add check for utmpx.ut_syslen structure memberXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901
-rw-r--r-- | sessreg.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -92,12 +92,15 @@ #ifndef HAVE_CONFIG_H /* Imake fallback - hardcode platforms with utmpx */ # if (defined(sun) && defined (__SVR4)) # define HAVE_UTMPX_H +# define HAVE_UTMPX_UT_SYSLEN 1 # endif #endif #ifdef HAVE_UTMPX_H -# include <utmpx.h> -# define USE_UTMPX +# if HAVE_UTMPX_UT_SYSLEN +# include <utmpx.h> +# define USE_UTMPX +# endif #endif #ifdef HAVE_CONFIG_H |