From f99456cb63249645d166118eb4d8f8ed0a7a3b5f Mon Sep 17 00:00:00 2001
From: Syping <schiedelrafael@keppe.org>
Date: Sat, 7 Jan 2023 22:09:35 +0100
Subject: [PATCH] RagePhotoData: change struct to a C typedef struct

---
 src/RagePhotoData.h | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/RagePhotoData.h b/src/RagePhotoData.h
index 2008a6f..ca51922 100644
--- a/src/RagePhotoData.h
+++ b/src/RagePhotoData.h
@@ -19,13 +19,9 @@
 #ifndef RAGEPHOTODATA_H
 #define RAGEPHOTODATA_H
 
-#ifdef __cplusplus
-#include "libragephoto_global.h"
-#include <iostream>
-#include <cstdint>
+#include "stdint.h"
 
-struct LIBRAGEPHOTO_CXX_EXPORT RagePhotoData
-{
+typedef struct RagePhotoData {
     char* photoData;
     char* description;
     char* json;
@@ -45,7 +41,6 @@ struct LIBRAGEPHOTO_CXX_EXPORT RagePhotoData
     uint32_t titlOffset;
     uint32_t unnamedSum1;
     uint32_t unnamedSum2;
-};
-#endif // __cplusplus
+} RagePhotoData;
 
 #endif // RAGEPHOTODATA_H