summaryrefslogtreecommitdiffstats
path: root/getent.c
diff options
context:
space:
mode:
Diffstat (limited to 'getent.c')
-rw-r--r--getent.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/getent.c b/getent.c
index 1b1427e..c8a869a 100644
--- a/getent.c
+++ b/getent.c
@@ -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 *[]);