mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 06:37:50 +08:00
552f1ee5f8
* first batch of xwindow PR ports - up to dbus * first batch of xwindow PR ports - up to dbus * format manifest * version stuff * remove if block * version stuff * fix xcb hash * fix xproto dependency on meson blocking cross builds * adjust message * use X11_xcb_LIB * version stuff * put xlib arm64-windows on baseline * fix dbus on osx and linux * version stuff * forget to set the value * fix --export-dynamic on osx * version dbus * ci-retrigger * add license (needs tool update) * version adjustments * version update * remove unnecessary comments * v db * Apply suggestions from code review Co-authored-by: Billy O'Neal <bion@microsoft.com> * nitpicks * rename xau to libxau * use vcpkg_install_copyright and silence usage * xtrans silence usage * format-manifest * v db * make license null for ports without exact match * xdmcp rename to libxdmcp * merge x11 wrapper into xlib rename xlib to libx11 to avoid a metaport * v db * missed dbus depending on x11. * v db * Update scripts/ci.baseline.txt Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com> Co-authored-by: Alexander Neumann <you@example.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy O'Neal <bion@microsoft.com>
22 lines
611 B
Diff
22 lines
611 B
Diff
diff --git a/src/xcb_windefs.h b/src/xcb_windefs.h
|
|
index df6026da3..7591c61e7 100644
|
|
--- a/src/xcb_windefs.h
|
|
+++ b/src/xcb_windefs.h
|
|
@@ -31,10 +31,13 @@
|
|
#define WINVER 0x0501 /* required for getaddrinfo/freeaddrinfo defined only for WinXP and above */
|
|
#endif
|
|
|
|
-#include <winsock2.h>
|
|
+#include <stdio.h>
|
|
+#include <X11/Xwindows.h>
|
|
+#include <X11/Xwinsock.h>
|
|
+typedef unsigned char BYTE;
|
|
-#include <ws2tcpip.h>
|
|
-#include <windef.h>
|
|
|
|
+#define STDERR_FILENO _fileno( stderr )
|
|
+
|
|
struct iovec {
|
|
void *iov_base; /* Pointer to data. */
|
|
int iov_len; /* Length of data. */
|