File: files.h.in

package info (click to toggle)
acct 6.5.4-2.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,132 kB
  • ctags: 1,428
  • sloc: sh: 10,390; ansic: 9,695; cpp: 289; makefile: 185
file content (42 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* files.h.in
 *
 * file locations
 *
 */

#ifndef FILES_H
#define FILES_H

#include "config.h"

#include <sys/types.h>

#ifdef LINUX_MULTIFORMAT
# include "linux-acct.h"
#else
# include <sys/acct.h>
	#ifdef __FreeBSD__
	# if __FreeBSD_version >= 700100 /* FreeBSD 7.0-STABLE */
	# define acct acctv2
	# endif
	#endif
#endif

#include <utmp.h>

#define WTMP_FILE_LOC "@WTMP_FILE_LOC@"
#define ACCT_FILE_LOC "@ACCT_FILE_LOC@"
#define SAVACCT_FILE_LOC "@SAVACCT_FILE_LOC@"
#define USRACCT_FILE_LOC "@USRACCT_FILE_LOC@"

/* Workaround for a kernel includes problem */
#if defined(__linux__) && defined(__alpha__)
#undef AHZ
#define AHZ 1024
#endif

#ifndef AHZ
#define AHZ 64
#endif

#endif /* ! FILES_H */