We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66aa142 commit d6cc184Copy full SHA for d6cc184
2 files changed
input/input_driver.c
@@ -62,9 +62,6 @@
62
#include "../verbosity.h"
63
64
#include "../ai/game_ai.h"
65
-#if defined(_WIN32)
66
-#include <winsock2.h>
67
-#endif
68
69
#define HOLD_BTN_DELAY_SEC 2
70
input/input_driver.h
@@ -32,6 +32,10 @@
32
#include "../config.h"
33
#endif /* HAVE_CONFIG_H */
34
35
+#if defined(_WIN32) && !defined(SOCKET)
36
+#include <winsock2.h>
37
+#endif
38
+
39
#include "input_defines.h"
40
#include "input_types.h"
41
#ifdef HAVE_OVERLAY
@@ -284,7 +288,11 @@ struct remote_message
284
288
struct input_remote
285
289
{
286
290
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORKGAMEPAD)
291
+#ifdef _WIN32
292
+ SOCKET net_fd[MAX_USERS];
293
+#else
287
294
int net_fd[MAX_USERS];
295
296
#endif
297
bool state[RARCH_BIND_LIST_END];
298
};
0 commit comments