| Revision: | 1.4 |
| Committed: | Wed Feb 16 20:32:05 2005 UTC (21 years, 7 months ago) by root |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | rel-7_0, post_menubar_removal, rel-6_2, rel-6_3, rel-6_0, rel-6_1, rel-5_5, rel-5_4, rel-5_7, rel-5_3, rel-5_2, rel-5_9, rel-5_8 |
| Changes since 1.3: | +0 -1 lines |
| Log Message: | *** empty log message *** |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pcg | 1.3 | #ifndef LOGGING_H_ |
| 2 | #define LOGGING_H_ | ||
| 3 | pcg | 1.1 | |
| 4 | #ifdef UTMP_SUPPORT | ||
| 5 | # if ! defined(HAVE_STRUCT_UTMPX) && ! defined(HAVE_STRUCT_UTMP) | ||
| 6 | # error cannot build with utmp support - no utmp or utmpx struct found | ||
| 7 | # endif | ||
| 8 | |||
| 9 | # ifdef HAVE_LASTLOG_H | ||
| 10 | # include <lastlog.h> | ||
| 11 | # endif | ||
| 12 | # include <pwd.h> | ||
| 13 | |||
| 14 | # ifdef RXVT_UTMP_SYSV | ||
| 15 | # ifndef USER_PROCESS | ||
| 16 | # define USER_PROCESS 7 | ||
| 17 | # endif | ||
| 18 | # ifndef DEAD_PROCESS | ||
| 19 | # define DEAD_PROCESS 8 | ||
| 20 | # endif | ||
| 21 | # endif | ||
| 22 | |||
| 23 | # ifdef __QNX__ | ||
| 24 | # include <sys/utsname.h> | ||
| 25 | # define ut_name ut_user | ||
| 26 | # endif | ||
| 27 | |||
| 28 | #endif | ||
| 29 | #endif /* _LOGGING_H_ */ |