| Revision: | 1.3 |
| Committed: | Sat Jan 17 01:20:01 2004 UTC (22 years, 8 months ago) by pcg |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | rel-2_1_0, rel-5_1, rel-5_0, rel-4_4, rel-4_6, rel-4_7, rel-4_2, rel-4_3, rel-3_7, rel-3_8, rel-3_5, rel-3_4, rel-3_3, rel-3_2, rel-2_8, rel-3_0, rel-4_0, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rel-4_1, rel-1-9, rxvt-2-0, rel-1_9, rel-3_6, before_astyle, after_astyle, rel-2_7, rel-4_8, rel-4_9 |
| Changes since 1.2: | +2 -6 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 | #include "logging.intpro" /* PROTOS for internal routines */ | ||
| 29 | #endif | ||
| 30 | #endif /* _LOGGING_H_ */ |