Skip to content

Commit

Permalink
fix undefined symbols
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Jun 10, 2024
1 parent 5f141cf commit 6b60de3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions include/SSLOptions/SSLOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <ZendCPP/ZendCPP.hpp>

BEGIN_EXTERN_C()

typedef struct {
int64_t flags;
zend_string **trusted_certs;
Expand Down
10 changes: 6 additions & 4 deletions src/SSLOptions/Builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
*/

#include <SSLOptions/SSLOptions.h>
#include <php.h>
#include <expected>
#include <utility>

#include <php_driver.h>
#include <php.h>
#include <php_driver_types.h>

#include <expected>
#include <ext/standard/php_filestat.h>
#include <utility>

static std::expected<zend_string *, zend_result> file_get_contents(const zend_string *path) {
php_stream *stream =
Expand All @@ -44,6 +44,8 @@ static std::expected<zend_string *, zend_result> file_get_contents(const zend_st
}

BEGIN_EXTERN_C()
#include <ext/standard/php_filestat.h>

#include "Builder_arginfo.h"

zend_class_entry *php_scylladb_ssl_builder_ce = nullptr;
Expand Down

0 comments on commit 6b60de3

Please sign in to comment.