summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 06:04:11 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 06:04:11 +0000
commitc9cfc153b938a777e14f8bdf66fc7a4ca759c8e8 (patch)
tree30444bf9e8dc0a3ff7fd442b420dab16d2d06185 /sbin
parentfdec595bdadec550888a0eaa79ae3c074431c751 (diff)
Add <time.h> for time() and ctime(); sort <net*/*.h>
ok deraadt@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/route/route.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 8fd08ef97e6..25202e78bdd 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.184 2016/07/09 20:39:17 tedu Exp $ */
+/* $OpenBSD: route.c,v 1.185 2016/08/26 06:04:10 guenther Exp $ */
/* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */
/*
@@ -35,9 +35,12 @@
#include <net/if.h>
#include <net/if_dl.h>
+#include <net/if_media.h>
#include <net/if_types.h>
#include <net/route.h>
#include <netinet/in.h>
+#include <netmpls/mpls.h>
+
#include <arpa/inet.h>
#include <netdb.h>
@@ -50,10 +53,9 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <paths.h>
#include <err.h>
-#include <net/if_media.h>
-#include <netmpls/mpls.h>
#include "keywords.h"
#include "show.h"