fix(tools): Make ua2json compile under Windows (#6365)

This commit is contained in:
Rolf Kalbermatter 2024-03-27 10:52:58 +01:00 committed by GitHub
parent 17b495d01a
commit dbc09bc5ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"