Skip to content

Commit 4c686da

Browse files
enh-googleAndroid Git Automerger
authored andcommitted
am cceed1d: Merge "Include <sys/socket.h> instead of <linux/socket.h>."
* commit 'cceed1dfe13e99c4ffdc2586bff22d325a57c599': Include <sys/socket.h> instead of <linux/socket.h>.
2 parents 70a5967 + cceed1d commit 4c686da

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

services/common_time/common_clock_service.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include <common_time/ICommonClock.h>
18-
1917
#ifndef ANDROID_COMMON_CLOCK_SERVICE_H
2018
#define ANDROID_COMMON_CLOCK_SERVICE_H
2119

20+
#include <sys/socket.h>
21+
#include <common_time/ICommonClock.h>
22+
2223
namespace android {
2324

2425
class CommonTimeServer;

services/common_time/common_time_config_service.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
* limitations under the License.
1414
*/
1515

16-
#include <common_time/ICommonTimeConfig.h>
17-
1816
#ifndef ANDROID_COMMON_TIME_CONFIG_SERVICE_H
1917
#define ANDROID_COMMON_TIME_CONFIG_SERVICE_H
2018

19+
#include <sys/socket.h>
20+
#include <common_time/ICommonTimeConfig.h>
21+
2122
namespace android {
2223

2324
class String16;

services/common_time/common_time_server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include <arpa/inet.h>
2121
#include <stdint.h>
22-
#include <linux/socket.h>
22+
#include <sys/socket.h>
2323

2424
#include <common_time/ICommonClock.h>
2525
#include <common_time/local_clock.h>

0 commit comments

Comments
 (0)