summaryrefslogtreecommitdiff
path: root/usr.bin/file/config.h
blob: 09251bd081c630b421ffdaf3a41bf17ce69d59f9 (plain)
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
/*
 * Hand-made config.h file for OpenBSD, so we don't have to run
 * the dratted configure script every time we build this puppy,
 * but can still carefully import stuff from Christos' version.
 *
 * This file is in the public domain. Original Author Ian F. Darwin.
 * $OpenBSD: config.h,v 1.5 2009/06/13 11:14:19 miod Exp $
 */

/* header file issues. */
#define HAVE_UNISTD_H 1
#define HAVE_FCNTL_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_SYS_STAT_H 1
#define	HAVE_INTTYPES_H 1
#define HAVE_GETOPT_H 1
#define HAVE_LIMITS_H 1
/* #define	HAVE_ZLIB_H	1	DO NOT ENABLE YET -- chl */
/* #define	HAVE_LIBZ	1	DO NOT ENABLE YET -- ian */

#define HAVE_STRTOUL
#define HAVE_STRERROR
#define HAVE_VSNPRINTF
#define HAVE_SNPRINTF

/* Compiler issues */
#define SIZEOF_LONG_LONG 8

/* Library issues */
#define HAVE_GETOPT_LONG 1	/* in-tree as of 3.2 */
#define HAVE_MKSTEMP 1
#define HAVE_ST_RDEV 1

/* ELF support */
#define BUILTIN_ELF 1
#define ELFCORE 1