Include <sys/socket.h> instead of <linux/socket.h>.

In newer kernels, <linux/socket.h> no longer contains some of the stuff you're
using.

Change-Id: I92c6847d73c20fb49d0db15c1cc15aa07fb5d44d
This commit is contained in:
Elliott Hughes
2012-09-11 18:50:25 -07:00
parent ba3cf72a08
commit 778c859bfd
3 changed files with 7 additions and 5 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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>