summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-06 09:36:17 -0800
committerDan Albert <danalbert@google.com>2015-01-06 09:36:17 -0800
commitaa1be2b3d24d99f3ccb98ff4fbb2a81b63587eff (patch)
tree46b13422c90088fde9da814b392a555b563c0bf9 /client
parent8a8b0c6af6ba45b549228ca4339277f18894f909 (diff)
downloadandroid_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.cpp10
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);