diff options
| author | Dan Albert <danalbert@google.com> | 2015-01-06 09:36:17 -0800 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2015-01-06 09:36:17 -0800 |
| commit | aa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff (patch) | |
| tree | 46b13422c90088fde9da814b392a555b563c0bf9 /server/RouteController.cpp | |
| parent | 8a8b0c6af6ba45b549228ca4339277f18894f909 (diff) | |
Fix missing errno.h includes after libc cleanup.
These issues hadn't been found yet because a libc++ header was
unconditionally pulling in errno.h. I've fixed the libc++ header now.
Change-Id: Ib096634cdd231fc75bf7548e4b99babc7442dc53
Diffstat (limited to 'server/RouteController.cpp')
| -rw-r--r-- | server/RouteController.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/server/RouteController.cpp b/server/RouteController.cpp index 140c0d37..4cb145b2 100644 --- a/server/RouteController.cpp +++ b/server/RouteController.cpp @@ -16,6 +16,15 @@ #include "RouteController.h" +#include <arpa/inet.h> +#include <errno.h> +#include <fcntl.h> +#include <linux/fib_rules.h> +#include <net/if.h> +#include <sys/stat.h> + +#include <map> + #include "Fwmark.h" #include "UidRanges.h" @@ -24,13 +33,6 @@ #include "logwrap/logwrap.h" #include "resolv_netid.h" -#include <arpa/inet.h> -#include <fcntl.h> -#include <linux/fib_rules.h> -#include <map> -#include <net/if.h> -#include <sys/stat.h> - namespace { // BEGIN CONSTANTS -------------------------------------------------------------------------------- |
