summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-09-12 11:06:56 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2012-09-12 11:06:56 -0700
commit40ad466e4e9669b43b72c4736ec9e8e27ddb5cfc (patch)
tree1b8f7b9a0fa159f723aa9828225c7d1e8d84549a
parent53d1864c100ba6562b3077d662a063356b9584ce (diff)
parent4c686dad83b6712e0e1abab6aba9c7bb683000b2 (diff)
am 4c686dad: am cceed1df: Merge "Include <sys/socket.h> instead of <linux/socket.h>."
* commit '4c686dad83b6712e0e1abab6aba9c7bb683000b2': Include <sys/socket.h> instead of <linux/socket.h>.
-rw-r--r--services/common_time/common_clock_service.h5
-rw-r--r--services/common_time/common_time_config_service.h5
-rw-r--r--services/common_time/common_time_server.h2
3 files changed, 7 insertions, 5 deletions
diff --git a/services/common_time/common_clock_service.h b/services/common_time/common_clock_service.h
index a65e398d276f..bd663f06d43a 100644
--- a/services/common_time/common_clock_service.h
+++ b/services/common_time/common_clock_service.h
@@ -14,11 +14,12 @@
* limitations under the License.
*/
-#include <common_time/ICommonClock.h>
-
#ifndef ANDROID_COMMON_CLOCK_SERVICE_H
#define ANDROID_COMMON_CLOCK_SERVICE_H
+#include <sys/socket.h>
+#include <common_time/ICommonClock.h>
+
namespace android {
class CommonTimeServer;
diff --git a/services/common_time/common_time_config_service.h b/services/common_time/common_time_config_service.h
index 8283c24e0f4c..89806dd87e29 100644
--- a/services/common_time/common_time_config_service.h
+++ b/services/common_time/common_time_config_service.h
@@ -13,11 +13,12 @@
* limitations under the License.
*/
-#include <common_time/ICommonTimeConfig.h>
-
#ifndef ANDROID_COMMON_TIME_CONFIG_SERVICE_H
#define ANDROID_COMMON_TIME_CONFIG_SERVICE_H
+#include <sys/socket.h>
+#include <common_time/ICommonTimeConfig.h>
+
namespace android {
class String16;
diff --git a/services/common_time/common_time_server.h b/services/common_time/common_time_server.h
index a0f549f6d8f9..89bca646769c 100644
--- a/services/common_time/common_time_server.h
+++ b/services/common_time/common_time_server.h
@@ -19,7 +19,7 @@
#include <arpa/inet.h>
#include <stdint.h>
-#include <linux/socket.h>
+#include <sys/socket.h>
#include <common_time/ICommonClock.h>
#include <common_time/local_clock.h>