David van Moolenbroek 9f20bfa6c4 Import NetBSD dhcpcd(8)
The port could be improved by adding support for pselect(2).

Other than that, this port has a few MINIX-specific changes:

- we undefine IN_IFF_ flags to stop dhcpcd from thinking that we have
  operating system support for link-local IPv4 address management;
- we work around one crash bug that seems triggered by using dhcpcd
  on some but not all interfaces;
- we add "noalias" to the default dhcpcd.conf(5) configuration file.

Change-Id: I8a81c2c2af353c5ce08335673b1ab2d4b39178da
2017-03-21 21:59:13 +00:00

18 lines
414 B
C

/* $NetBSD: config.h,v 1.9 2015/05/16 23:31:32 roy Exp $ */
/* netbsd */
#define SYSCONFDIR "/etc"
#define SBINDIR "/sbin"
#define LIBDIR "/lib"
#define LIBEXECDIR "/libexec"
#define DBDIR "/var/db"
#define RUNDIR "/var/run"
#define HAVE_SYS_QUEUE_H
#define HAVE_SPAWN_H
#if !defined(__minix)
#define HAVE_KQUEUE
#define HAVE_KQUEUE1
#endif /* !defined(__minix) */
#define HAVE_MD5_H
#define SHA2_H <sha2.h>