summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2006-03-12 22:40:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2006-03-12 22:40:40 +0000
commit1b5498f9605cca0b29b572f11c1a76f4882fb27b (patch)
tree301be3f357d3d277cf268e3131d69e9f6fd3fb75
parent539dcb98eeb7d4d2451ec3abc4d5b31d7f20906c (diff)
Include arpa/inet.h after netinet/in.h, not before. deraadt@ OK
-rw-r--r--usr.bin/getent/getent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/getent/getent.c b/usr.bin/getent/getent.c
index 5f89fd099d4..c3d8a886cbf 100644
--- a/usr.bin/getent/getent.c
+++ b/usr.bin/getent/getent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getent.c,v 1.2 2005/11/10 20:07:14 deraadt Exp $ */
+/* $OpenBSD: getent.c,v 1.3 2006/03/12 22:40:39 millert Exp $ */
/* $NetBSD: getent.c,v 1.7 2005/08/24 14:31:02 ginsbach Exp $ */
/*-
@@ -52,13 +52,13 @@
#include <string.h>
#include <unistd.h>
-#include <arpa/inet.h>
-#include <arpa/nameser.h>
-
#include <net/if.h>
#include <netinet/in.h> /* for INET6_ADDRSTRLEN */
#include <netinet/if_ether.h>
+#include <arpa/inet.h>
+#include <arpa/nameser.h>
+
#include <rpc/rpc.h>
static int usage(void);