Title: [127455] trunk/Source/WebCore
Revision
127455
Author
[email protected]
Date
2012-09-04 04:25:13 -0700 (Tue, 04 Sep 2012)

Log Message

[EFL] Fix build error in NetworkStateNotifierEfl.cpp
https://bugs.webkit.org/show_bug.cgi?id=95724

Unreviewed EFL build fix.

Make sure <sys/socket.h> is included before
<linux/netlink.h> to fix build errors on some
systems (e.g. Ubuntu 11.10).

No new tests, no behavior change.

Patch by Christophe Dumez <[email protected]> on 2012-09-04

* platform/network/efl/NetworkStateNotifierEfl.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (127454 => 127455)


--- trunk/Source/WebCore/ChangeLog	2012-09-04 10:48:27 UTC (rev 127454)
+++ trunk/Source/WebCore/ChangeLog	2012-09-04 11:25:13 UTC (rev 127455)
@@ -1,3 +1,18 @@
+2012-09-04  Christophe Dumez  <[email protected]>
+
+        [EFL] Fix build error in NetworkStateNotifierEfl.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=95724
+
+        Unreviewed EFL build fix.
+
+        Make sure <sys/socket.h> is included before
+        <linux/netlink.h> to fix build errors on some
+        systems (e.g. Ubuntu 11.10).
+
+        No new tests, no behavior change.
+
+        * platform/network/efl/NetworkStateNotifierEfl.cpp:
+
 2012-09-04  Vsevolod Vlasov  <[email protected]>
 
         Web Inspector: Create _javascript_Sources based on network resources.

Modified: trunk/Source/WebCore/platform/network/efl/NetworkStateNotifierEfl.cpp (127454 => 127455)


--- trunk/Source/WebCore/platform/network/efl/NetworkStateNotifierEfl.cpp	2012-09-04 10:48:27 UTC (rev 127454)
+++ trunk/Source/WebCore/platform/network/efl/NetworkStateNotifierEfl.cpp	2012-09-04 11:25:13 UTC (rev 127455)
@@ -31,12 +31,14 @@
 #include <Eeze.h>
 #include <Eeze_Net.h>
 #include <asm/types.h>
-#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
 #include <string.h>
 #include <sys/socket.h>
 #include <unistd.h>
 
+// Must come at the end so that sys/socket.h is included first.
+#include <linux/netlink.h>
+#include <linux/rtnetlink.h>
+
 static const char udevLoopBackInterfaceSysPath[] = "lo";
 static const char udevOperstateAttribute[] = "operstate";
 static const char udevOperstateUp[] = "up";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to