source: rtems-libbsd/dhcpcd/config.h @ b43517b

55-freebsd-126-freebsd-12
Last change on this file since b43517b was 2017a6d, checked in by Sebastian Huber <sebastian.huber@…>, on 04/07/16 at 07:48:12

Directly use <sys/time.h> provided by Newlib

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifndef DHCPCD_CONFIG_H
2#define DHCPCD_CONFIG_H
3/* RTEMS */
4#define PLATFORM_BSD
5#define SYSCONFDIR      "/etc"
6#define SBINDIR         "/sbin"
7#define LIBDIR          "/lib"
8#define LIBEXECDIR      "/libexec"
9#define DBDIR           "/var/db"
10#define RUNDIR          "/var/run"
11#include <sys/time.h>
12#include <machine/rtems-bsd-program.h>
13#include <machine/rtems-bsd-commands.h>
14#include <spawn.h>
15#include <stdint.h>
16#include "compat/pollts.h"
17uint32_t arc4random(void);
18static inline int dhcpcd_flock(int a, int b) { return -1; }
19#define flock(a, b) dhcpcd_flock(a, b)
20#define getline __getline
21#define closefrom(x) do { } while (0)
22#define _PATH_BPF "/dev/bpf"
23#ifdef __need_getopt_newlib
24#define optind dhcpcd_getopt_data.optind
25#define optarg dhcpcd_getopt_data.optarg
26#define opterr dhcpcd_getopt_data.opterr
27#define optopt dhcpcd_getopt_data.optopt
28#define getopt_long(argc, argv, so, lo, li) getopt_long_r(argc, argv, so, lo, li, &dhcpcd_getopt_data)
29extern struct getopt_data dhcpcd_getopt_data;
30#endif /* __need_getopt_newlib */
31#include "namespace.h"
32#endif /* DHCPCD_CONFIG_H */
Note: See TracBrowser for help on using the repository browser.