diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-02-14 00:38:50 -0500 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-02-14 00:38:50 -0500 |
commit | 737fa5a9bfd3fd968b92fe94936c524ae3685cf3 (patch) | |
tree | 7b9d6c1c2fe185c13960519161db489161eb367e /getent.c | |
parent | 1f2ff42d4943d0567b33af1dd0b6f4b5b077f025 (diff) | |
download | getent-darwin-737fa5a9bfd3fd968b92fe94936c524ae3685cf3.tar.gz getent-darwin-737fa5a9bfd3fd968b92fe94936c524ae3685cf3.tar.zst getent-darwin-737fa5a9bfd3fd968b92fe94936c524ae3685cf3.zip |
Get it compiling
Diffstat (limited to 'getent.c')
-rw-r--r-- | getent.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,7 +41,6 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <netinet/if_ether.h> #include <netinet/in.h> /* for INET6_ADDRSTRLEN */ -#include <rpc/rpcent.h> #include <assert.h> #include <ctype.h> @@ -58,6 +57,10 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> #include <utmpx.h> +#include <arpa/nameser_compat.h> +#include "utmpx-defines.h" +int setutxdb(int db, const char *file); + static int usage(void); static int parsenum(const char *, unsigned long *); static int ethers(int, char *[]); |