Files
MINGW-packages/mingw-w64-libchamplain/001-win.patch
2019-11-02 22:12:13 +03:00

15 lines
338 B
Diff

--- ./demos/local-rendering.c.orig 2014-10-07 20:19:33.000000000 +0200
+++ ./demos/local-rendering.c 2016-03-27 11:42:41.914383900 +0200
@@ -26,7 +26,11 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
+#ifdef G_OS_WIN32
+#include <winsock2.h>
+#else
#include <sys/socket.h>
+#endif
#define N_COLS 2
#define COL_ID 0