OSDN Git Service

Don't include <linux/socket.h> directly.
authorElliott Hughes <enh@google.com>
Wed, 12 Sep 2012 01:47:53 +0000 (18:47 -0700)
committerElliott Hughes <enh@google.com>
Wed, 12 Sep 2012 01:47:53 +0000 (18:47 -0700)
In newer versions of Linux, stuff you need isn't in that file any more.

Change-Id: I62923ed2d92a75ff3182ba2ae27578ce7bde8356

media/common_time/ICommonClock.cpp
media/common_time/ICommonTimeConfig.cpp

index 28b43ac..25ae69e 100644 (file)
@@ -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>
index 8eb37cb..67167b0 100644 (file)
@@ -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>