summaryrefslogtreecommitdiff
path: root/gatekeeperd
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-06-09 20:09:26 -0700
committerDan Albert <danalbert@google.com>2015-06-09 20:10:19 -0700
commit460f6b1f11385f1c095f5873574196a5c166e6a7 (patch)
treed590837027b47fdf2e0a107035533a26ffe419a4 /gatekeeperd
parentfcc822a0dbbc3a7256111f7a47e50dd2b20efab7 (diff)
Add missing arpa/inet.h include for ntohl.
Clang build fix. Not sure why this is happening with gcc. Change-Id: Ic3e192e31ba8d1d78dab83a6af13e82d261e5938
Diffstat (limited to 'gatekeeperd')
-rw-r--r--gatekeeperd/tests/gatekeeper_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gatekeeperd/tests/gatekeeper_test.cpp b/gatekeeperd/tests/gatekeeper_test.cpp
index 15b2b6922..47a8bfa9d 100644
--- a/gatekeeperd/tests/gatekeeper_test.cpp
+++ b/gatekeeperd/tests/gatekeeper_test.cpp
@@ -14,11 +14,12 @@
* limitations under the License.
*/
-#include <gtest/gtest.h>
-#include <UniquePtr.h>
+#include <arpa/inet.h>
#include <iostream>
+#include <gtest/gtest.h>
#include <hardware/hw_auth_token.h>
+#include <UniquePtr.h>
#include "../SoftGateKeeper.h"