mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
fix(tools): Make ua2json compile under Windows (#6365)
This commit is contained in:
parent
17b495d01a
commit
dbc09bc5ca
@ -10,7 +10,12 @@
|
||||
#include <open62541/types_generated_handling.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#if defined(_MSC_VER)
|
||||
# include <BaseTsd.h>
|
||||
typedef SSIZE_T ssize_t;
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* Internal headers */
|
||||
#include "ua_pubsub_networkmessage.h"
|
||||
|
Loading…
Reference in New Issue
Block a user