xref: /dragonfly/sbin/dhcpcd/config.h (revision 944bf0dfc70085721315b8d26a985eba0100b79e)
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 #ifndef PRIVSEP_USER
11 #define PRIVSEP_USER                     "_dhcp"
12 #endif
13 #define   HAVE_IFAM_ADDRFLAGS
14 #define   HAVE_IFADDRS_ADDRFLAGS
15 #define   HAVE_OPEN_MEMSTREAM
16 #include                      "compat/pidfile.h"
17 #include                      "compat/strtoi.h"
18 #include                      "compat/consttime_memequal.h"
19 #define   TAILQ_FOREACH_SAFE  TAILQ_FOREACH_MUTABLE
20 #define   HAVE_SYS_QUEUE_H
21 #define   HAVE_NBTOOL_CONFIG_H          0
22 #define   RBTEST
23 #include                      "compat/rbtree.h"
24 #define   HAVE_REALLOCARRAY
25 #define   HAVE_PPOLL
26 #ifdef    USE_PRIVATECRYPTO
27 #define   HAVE_MD5_H
28 #define   SHA2_H                        <openssl/sha.h>
29 #else
30 #include                      "compat/crypt/md5.h"
31 #include                      "compat/crypt/sha256.h"
32 #endif
33 #include                      "compat/crypt/hmac.h"
34