/* Needed for ppoll(2) */
#define _GNU_SOURCE
#include <sys/queue.h>
#include <sys/time.h>
#include <errno.h>
#define _WITH_DPRINTF /* Stop FreeBSD bitching */
#include <sys/file.h>
#include <sys/socket.h>
#include <sys/stat.h>
#ifndef IPV6ND_H
#define IPV6ND_H
#include <time.h>
#include "dhcpcd.h"
#ifndef COMPAT_QUEUE_H
#define COMPAT_QUEUE_H
/*
* Tail queue definitions.
*/
* Please use the source in NetBSD for a fuller working copy.
#define __NEED_uint8_t
#include <ctype.h>
#include <limits.h>
#undef BELL
#define BELL '\a'
typedef uint8_t u_char;
#define isoctal(c) (((u_char)(c)) >= '0' && ((u_char)(c)) <= '7')
#define iswhite(c) (c == ' ' || c == '\t' || c == '\n')
#ifndef DHCPCD_H
#define DHCPCD_H
#include <net/if.h>
# define _GNU_SOURCE
#endif
#ifndef __sun
# include <sys/cdefs.h>
#ifdef __APPLE__
# include <mach/mach_time.h>
# include <mach/kern_return.h>
#ifndef AUTH_H
#define AUTH_H
#define DHCPCD_AUTH_SEND (1 << 0)
#define DHCPCD_AUTH_REQUIRE (1 << 1)
#define DHCPCD_AUTH_RDM_COUNTER (1 << 2)
#ifndef IPV6_H
#define IPV6_H
#include <sys/uio.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <inttypes.h>
#include <sys/param.h>
#include <sys/types.h>
#include <arpa/inet.h>
* SUCH DAMAGE.