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 /client | |
parent | 8a8b0c6af6ba45b549228ca4339277f18894f909 (diff) | |
download | android_system_netd-aa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff.tar.gz android_system_netd-aa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff.tar.bz2 android_system_netd-aa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff.zip |
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 'client')
-rw-r--r-- | client/NetdClient.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/client/NetdClient.cpp b/client/NetdClient.cpp index fce362e5..0c9d1859 100644 --- a/client/NetdClient.cpp +++ b/client/NetdClient.cpp @@ -16,15 +16,17 @@ #include "NetdClient.h" +#include <errno.h> +#include <sys/socket.h> +#include <unistd.h> + +#include <atomic> + #include "Fwmark.h" #include "FwmarkClient.h" #include "FwmarkCommand.h" #include "resolv_netid.h" -#include <atomic> -#include <sys/socket.h> -#include <unistd.h> - namespace { std::atomic_uint netIdForProcess(NETID_UNSET); |