Bug 854904: fix undefined sockaddr_in, sockaddr_in6. r=qDot
authorVicamo Yang <vyang@mozilla.com>
Wed, 27 Mar 2013 20:53:24 +0800
changeset 126386 508256893af740c62a7a9682a48035fbd8e26a18
parent 126385 5a569ac82c3611b1284758dd4918a451068bee7a
child 126387 805aff291ec258e84b8f971c6ac3bfd9bcf3dea4
push id24482
push userryanvm@gmail.com
push dateWed, 27 Mar 2013 21:03:24 +0000
treeherdermozilla-central@279078670022 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersqDot
bugs854904
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 854904: fix undefined sockaddr_in, sockaddr_in6. r=qDot
ipc/unixsocket/UnixSocket.h
--- a/ipc/unixsocket/UnixSocket.h
+++ b/ipc/unixsocket/UnixSocket.h
@@ -6,16 +6,17 @@
 
 #ifndef mozilla_ipc_UnixSocket_h
 #define mozilla_ipc_UnixSocket_h
 
 
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/un.h>
+#include <netinet/in.h>
 #ifdef MOZ_B2G_BT
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/sco.h>
 #include <bluetooth/rfcomm.h>
 #endif
 #include <stdlib.h>
 #include "nsString.h"
 #include "nsAutoPtr.h"