summaryrefslogtreecommitdiffstats
path: root/media/common_time
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-09-11 18:47:53 -0700
committerElliott Hughes <enh@google.com>2012-09-11 18:47:53 -0700
commite5167f88f3734a048dc44199f3fff0432589db43 (patch)
tree0945efcd310fd65e90fc39f2ea796b619d74a7f4 /media/common_time
parent290ac69379e649a2fed1d9441a17e39c6a912d8c (diff)
downloadframeworks_av-e5167f88f3734a048dc44199f3fff0432589db43.zip
frameworks_av-e5167f88f3734a048dc44199f3fff0432589db43.tar.gz
frameworks_av-e5167f88f3734a048dc44199f3fff0432589db43.tar.bz2
Don't include <linux/socket.h> directly.
In newer versions of Linux, stuff you need isn't in that file any more. Change-Id: I62923ed2d92a75ff3182ba2ae27578ce7bde8356
Diffstat (limited to 'media/common_time')
-rw-r--r--media/common_time/ICommonClock.cpp3
-rw-r--r--media/common_time/ICommonTimeConfig.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/media/common_time/ICommonClock.cpp b/media/common_time/ICommonClock.cpp
index 28b43ac..25ae69e 100644
--- a/media/common_time/ICommonClock.cpp
+++ b/media/common_time/ICommonClock.cpp
@@ -13,7 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <linux/socket.h>
+
+#include <sys/socket.h>
#include <common_time/ICommonClock.h>
#include <binder/Parcel.h>
diff --git a/media/common_time/ICommonTimeConfig.cpp b/media/common_time/ICommonTimeConfig.cpp
index 8eb37cb..67167b0 100644
--- a/media/common_time/ICommonTimeConfig.cpp
+++ b/media/common_time/ICommonTimeConfig.cpp
@@ -13,7 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <linux/socket.h>
+
+#include <sys/socket.h>
#include <common_time/ICommonTimeConfig.h>
#include <binder/Parcel.h>