Skip to content

Commit

Permalink
Fixed build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-jonsson committed Oct 18, 2024
1 parent c685133 commit a187ac9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions modules/ebridge/ebridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@
#include <stdlib.h>
#include <time.h>

#ifndef _WIN32
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/socket.h>
#include <sys/select.h>
#include <arpa/inet.h>
#endif

#define MAX_PACKET_SIZE 0x5DC // Hardcoded in the driver extension.
#define POLL_DELAY 10000
#define MAX_PACKET_SIZE 0x5DC // Hardcoded in the driver extension.
#define POLL_DELAY 10000 // 10ms
#define PORT 1235

struct ebridge {
Expand Down

0 comments on commit a187ac9

Please sign in to comment.