Skip to content

Commit

Permalink
Fix missing <cstring> include for std::memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilDohne committed Feb 24, 2024
1 parent 63976ba commit 5dbf2d4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PhotoshopAPI/src/Util/Compression/Compression.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <type_traits>
#include <vector>

#include <cstring>


PSAPI_NAMESPACE_BEGIN

Expand Down
1 change: 1 addition & 0 deletions PhotoshopAPI/src/Util/Compression/RLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <vector>
#include <limits>

#include <cstring>
#include <inttypes.h>


Expand Down
2 changes: 2 additions & 0 deletions PhotoshopAPI/src/Util/Compression/ZIP.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include <span>
#include <tuple>

#include <cstring>

PSAPI_NAMESPACE_BEGIN

// Implementation of the calls to Inflate and Deflate through an abstraction layer
Expand Down
1 change: 1 addition & 0 deletions PhotoshopAPI/src/Util/Endian/EndianByteSwap.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>

#include <cstring>
#include <limits.h>

PSAPI_NAMESPACE_BEGIN
Expand Down
2 changes: 2 additions & 0 deletions PhotoshopAPI/src/Util/Endian/EndianByteSwapArr.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include <array>
#include <bit>

#include <cstring>


PSAPI_NAMESPACE_BEGIN

Expand Down
1 change: 1 addition & 0 deletions PhotoshopAPI/src/Util/Struct/ByteStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <span>

#include <cstring>
#define __STDC_FORMAT_MACROS 1
#include <inttypes.h>

Expand Down

0 comments on commit 5dbf2d4

Please sign in to comment.