Refactor includes for Windows compatibility in helpers.c

This commit is contained in:
2025-10-11 14:06:48 +01:00
parent 28972eb10c
commit 8c80b87903

View File

@@ -16,6 +16,11 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#include <wincrypt.h>
#endif
#include <aaru.h>
#include <aaruformat.h>
@@ -23,11 +28,6 @@
#include <stdlib.h>
#include <time.h>
#if defined(_WIN32) || defined(_WIN64)
#include <wincrypt.h>
#include <windows.h>
#endif
/**
* @brief Converts an image data type to an Aaru media tag type.
*