23 |
|
|
24 |
|
#include <stdio.h> |
25 |
|
#include <regex.h> |
26 |
< |
#ifdef ALLBSD |
26 |
> |
#if defined(FREEBSD) || defined(DFBSD) |
27 |
|
#include <kvm.h> |
28 |
|
#endif |
29 |
|
#ifdef NETBSD |
30 |
|
#include <uvm/uvm_extern.h> |
31 |
|
#endif |
32 |
|
|
33 |
– |
#ifndef HAVE_ATOLL |
34 |
– |
static long long atoll(const char *s); |
35 |
– |
#endif |
36 |
– |
|
33 |
|
#ifndef HAVE_STRLCPY |
34 |
|
size_t strlcat(char *dst, const char *src, size_t siz); |
35 |
|
#endif |
44 |
|
|
45 |
|
char *get_string_match(char *line, regmatch_t *match); |
46 |
|
|
47 |
< |
#ifdef ALLBSD |
47 |
> |
#if defined(FREEBSD) || defined(DFBSD) |
48 |
|
kvm_t *get_kvm(void); |
49 |
|
#endif |
50 |
|
|