GNOME Bugzilla – Bug 733052
Include windsock header for Windows targets
Last modified: 2014-07-11 19:23:30 UTC
Windows need include <winsock.h> instead netinet/*.h and arpa/*.h headers.
Created attachment 280495 [details] [review] issue fixing
commit 198d8dd5f12036b84c09d69f6d9209ec4c7e9e5d Author: Sebastian Dröge <sebastian@centricular.com> Date: Fri Jul 11 13:25:37 2014 +0200 curl: Use winsock2 instead and the GLib macro for checking if we're on Windows commit 0ea13d7a65e5fcbe1ce452f0b3843895652061e1 Author: Sebastian Dröge <sebastian@centricular.com> Date: Fri Jul 11 13:25:18 2014 +0200 motioncells: Use no network API if not required commit 365d0cfb320369144ba6a632c1a27920e850fb7f Author: Alexey Pavlov <alexpux@gmail.com> Date: Fri Jul 11 13:21:21 2014 +0200 ext: Include winsock.h on Windows when required https://bugzilla.gnome.org/show_bug.cgi?id=733052
Need add #include <gst/gst.h> before using G_OS_WIN32 macros also.