Skip to content

Commit

Permalink
fix issue#1597: add rocksdb dependency to pstd (OpenAtomFoundation#1599)
Browse files Browse the repository at this point in the history
* fix g++15 compile failure

* add rocksdb dependency to pstd

---------

Co-authored-by: J1senn <J1senn@outlook.com>
  • Loading branch information
A2ureStone and J1senn authored Jun 7, 2023
1 parent a2a0143 commit eaa24ff
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/pika_data_distribution.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#ifndef PIKA_DATA_DISTRIBUTION_H_
#define PIKA_DATA_DISTRIBUTION_H_

#include <cstdint>
#include "pstd/include/pstd_status.h"

// polynomial reserved Crc32 magic num
Expand Down
1 change: 1 addition & 0 deletions src/pstd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ aux_source_directory(./src DIR_SRCS)
add_library(pstd STATIC ${DIR_SRCS})

add_dependencies(pstd
rocksdb
glog
gflags
fmt
Expand Down
1 change: 1 addition & 0 deletions src/pstd/include/random.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define __PSTD_INCLUDE_RANDOM_H__

#include <ctime>
#include <cstdint>

namespace pstd {

Expand Down
1 change: 1 addition & 0 deletions src/pstd/src/pstd_status.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// found in the LICENSE file. See the AUTHORS file for names of contributors.

#include "pstd/include/pstd_status.h"
#include <cstdint>
#include <cstdio>

namespace pstd {
Expand Down
1 change: 1 addition & 0 deletions src/pstd/src/pstd_string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <cstdint>

#include <algorithm>

Expand Down
3 changes: 2 additions & 1 deletion src/storage/src/redis_hyperloglog.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
#ifndef SRC_REDIS_HYPERLOGLOG_H_
#define SRC_REDIS_HYPERLOGLOG_H_

#include <cstdint>
#include <iostream>
#include <string>
#include <memory>
#include <string>

namespace storage {

Expand Down

0 comments on commit eaa24ff

Please sign in to comment.