1 | /* |
|
|
2 | * $Id: logging.h,v 1.2 2003/11/24 17:31:27 pcg Exp $ |
|
|
3 | */ |
|
|
4 | |
|
|
5 | #ifndef _LOGGING_H_ |
1 | #ifndef LOGGING_H_ |
6 | #define _LOGGING_H_ |
2 | #define LOGGING_H_ |
7 | |
3 | |
8 | #ifdef UTMP_SUPPORT |
4 | #ifdef UTMP_SUPPORT |
9 | # if ! defined(HAVE_STRUCT_UTMPX) && ! defined(HAVE_STRUCT_UTMP) |
5 | # if ! defined(HAVE_STRUCT_UTMPX) && ! defined(HAVE_STRUCT_UTMP) |
10 | # error cannot build with utmp support - no utmp or utmpx struct found |
6 | # error cannot build with utmp support - no utmp or utmpx struct found |
11 | # endif |
7 | # endif |
… | |
… | |
27 | # ifdef __QNX__ |
23 | # ifdef __QNX__ |
28 | # include <sys/utsname.h> |
24 | # include <sys/utsname.h> |
29 | # define ut_name ut_user |
25 | # define ut_name ut_user |
30 | # endif |
26 | # endif |
31 | |
27 | |
32 | #include "logging.intpro" /* PROTOS for internal routines */ |
|
|
33 | #endif |
28 | #endif |
34 | #endif /* _LOGGING_H_ */ |
29 | #endif /* _LOGGING_H_ */ |