mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-09 11:18:47 +08:00
Windows portability fixes
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
#include <locale.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
// for ntohl
|
||||
#ifdef _WIN32
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
typedef uint16_t guint16;
|
||||
typedef uint32_t guint32;
|
||||
typedef uint64_t guint64;
|
||||
|
||||
Reference in New Issue
Block a user