Skip to content

Commit

Permalink
Include cstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Montura committed Jan 21, 2024
1 parent 16d861f commit 5a1a4be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/c/jni-lib/include/dxfeed/utils/ByteReader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <vector>

#include "api/dxfg_events.h"
#include "JNIUtils.hpp"

namespace dxfeed::jni {
struct ByteReader {
Expand Down
2 changes: 2 additions & 0 deletions src/main/c/jni-lib/include/dxfeed/utils/JNICommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#define DXFEED_JNI_NATIVE_SDK_BASE_H_

#include <jni.h>
#include <cstring>
#include <memory>

#include "dxfeed/utils/DxThreadException.hpp"
#include "dxfeed/utils/java/DxJni.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/main/c/jni-lib/src/utils/ByteReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "dxfeed/events/TradeMapping.hpp"
#include "dxfeed/events/UnderlyingMapping.hpp"
#include "dxfeed/utils/ByteReader.hpp"
#include "dxfeed/utils/JNIUtils.hpp"

namespace dxfeed::jni {
ByteReader::ByteReader(int size, const char* pByteData, const double* pDoubleData, const char* pEventTypes):
Expand Down

0 comments on commit 5a1a4be

Please sign in to comment.