ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/logging.h
Revision: 1.1
Committed: Mon Nov 24 17:28:08 2003 UTC (20 years, 6 months ago) by pcg
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# Content
1 /*
2 * $Id: logging.h,v 1.1 2003/11/18 14:22:17 root Exp $
3 */
4
5 #ifndef _LOGGING_H_
6 #define _LOGGING_H_
7
8 #ifdef UTMP_SUPPORT
9 # if ! defined(HAVE_STRUCT_UTMPX) && ! defined(HAVE_STRUCT_UTMP)
10 # error cannot build with utmp support - no utmp or utmpx struct found
11 # endif
12
13 # ifdef HAVE_LASTLOG_H
14 # include <lastlog.h>
15 # endif
16 # include <pwd.h>
17
18 # ifdef RXVT_UTMP_SYSV
19 # ifndef USER_PROCESS
20 # define USER_PROCESS 7
21 # endif
22 # ifndef DEAD_PROCESS
23 # define DEAD_PROCESS 8
24 # endif
25 # endif
26
27 # ifdef __QNX__
28 # include <sys/utsname.h>
29 # define ut_name ut_user
30 # endif
31
32 #include "logging.intpro" /* PROTOS for internal routines */
33 #endif
34 #endif /* _LOGGING_H_ */