Fixed Windows compatibility

This commit is contained in:
Valentino Orlandi 2022-09-01 00:47:19 +02:00
parent f07970cea0
commit 6f3e166dce
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@
#include <string>
#include <errno.h>
#include <zlib.h>
#if defined( Q_OS_WIN )
#include <QtZlib/zlib.h>
#else
#include <zlib.h>
#endif
// avoid corruption of the data on Windows/MS-DOS systems