ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/logging.h
Revision: 1.2
Committed: Mon Nov 24 17:31:27 2003 UTC (20 years, 6 months ago) by pcg
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1-3, rel-1-2
Changes since 1.1: +0 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 pcg 1.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_ */