xref: /dragonfly/sbin/dhcpcd/config.h (revision a1626531)
1 /* dragonfly */
2 #ifndef	SYSCONFDIR
3 #define	SYSCONFDIR		"/etc"
4 #define	SBINDIR			"/sbin"
5 #define	LIBDIR			"/lib"
6 #define	LIBEXECDIR		"/usr/libexec"
7 #define	DBDIR			"/var/db/dhcpcd"
8 #define	RUNDIR			"/var/run/dhcpcd"
9 #endif
10 #define	HAVE_IFAM_ADDRFLAGS
11 #define	HAVE_IFADDRS_ADDRFLAGS
12 #define	HAVE_OPEN_MEMSTREAM
13 #include			"compat/pidfile.h"
14 #include			"compat/strtoi.h"
15 #include			"compat/consttime_memequal.h"
16 #define	TAILQ_FOREACH_SAFE	TAILQ_FOREACH_MUTABLE
17 #define	HAVE_SYS_QUEUE_H
18 #define	RBTEST
19 #include			"compat/rbtree.h"
20 #define	HAVE_REALLOCARRAY
21 #define	HAVE_KQUEUE
22 #ifdef	USE_PRIVATECRYPTO
23 #define	HAVE_MD5_H
24 #define	SHA2_H			<openssl/sha.h>
25 #else
26 #include			"compat/crypt/md5.h"
27 #include			"compat/crypt/sha256.h"
28 #endif
29 #include			"compat/crypt/hmac.h"
30