Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refroot #5025

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

refroot #5025

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
endif()
endif()

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

if(COMDB2_BBCMAKE)
include(${COMDB2_BBCMAKE})
add_definitions(-DCOMDB2_BBCMAKE)
else()
configure_file(bbinc/plhash.in bbinc/plhash.h COPYONLY)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ${PROJECT_SOURCE_DIR}/cmake)
configure_file(bbinc/plhash.in bbinc/plhash.h COPYONLY)
endif()

find_package(LZ4 REQUIRED)
find_package(OpenSSL REQUIRED)
set(PROTOBUF_C_MIN_VERSION 1.1.0)
Expand All @@ -83,8 +85,6 @@ if(WITH_QKAFKA)
add_definitions(-DWITH_QKAFKA)
endif()

endif(COMDB2_BBCMAKE)

option(COMDB2_LEGACY_DEFAULTS "Legacy defaults without lrl override" OFF)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
Expand Down
1 change: 1 addition & 0 deletions bbinc/plhash_glue.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef INCLUDED_PLHASH_GLUE_H
#define INCLUDED_PLHASH_GLUE_H
#include <plhash.h>

/* Following are not available in sysutil */
hash_t *hash_init_ptr(void); /* hash of pointers (addresses) */
hash_t *hash_init_strcase(int keyoff); /* string starts at keyoff (case-insensitive) */
Expand Down
2 changes: 1 addition & 1 deletion bbinc/tunables.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef _TUNABLES_H
#define _TUNABLES_H

#include "plhash.h"
#include <plhash_glue.h>

typedef enum {
/*
Expand Down
3 changes: 1 addition & 2 deletions bdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ include_directories(
${PROTOBUF-C_INCLUDE_DIR}
)
if (COMDB2_BBCMAKE)
target_link_libraries(bdb PUBLIC db lz4)
configure_bb_target(bdb V2 NO_BUILDID NO_PLINKSTRINGS HEADER_DIRS)
comdb2_lib_target(bdb)
endif()
add_dependencies(bdb db mem proto)
2 changes: 1 addition & 1 deletion bdb/bdb_int.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#include <object_pool.h>
#include <list.h>
#include <plhash.h>
#include <plhash_glue.h>
#include <thread_util.h>

#include "bdb_cursor.h"
Expand Down
2 changes: 1 addition & 1 deletion bdb/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ as long as there was a successful move in the past
#include "bdb_osqltrn.h"
#include <dlfcn.h>
#include <list.h>
#include <plhash.h>
#include <plhash_glue.h>
#include "logmsg.h"
#include "util.h"
#include "tohex.h"
Expand Down
2 changes: 1 addition & 1 deletion bdb/genid.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include <build/db.h>
#include <epochlib.h>
#include <ctrace.h>
#include <plhash.h>
#include <plhash_glue.h>
#include <list.h>

#include <net.h>
Expand Down
38 changes: 19 additions & 19 deletions bdb/rowlocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <segstr.h>
#include <list.h>
#include <plhash.h>
#include <plhash_glue.h>
#include <fsnapf.h>

#include <net.h>
Expand Down Expand Up @@ -2308,7 +2308,7 @@ int handle_undo_add_dta(DB_ENV *dbenv, u_int32_t rectype,
/* keep format similar to berkeley - except for the raw data -
dump that in more readable format */
printf("[%lu][%lu] CUSTOM: add_dta: rec: %lu txnid %lx"
" prevlsn[%lu][%lu] utxnid \%"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64,
" prevlsn[%lu][%lu] utxnid %"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64,
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)addop->txnid->txnid, (u_long)addop->prev_lsn.file,
(u_long)addop->prev_lsn.offset, addop->txnid->utxnid, (u_long)lprev->file,
Expand Down Expand Up @@ -2403,7 +2403,7 @@ int handle_undo_add_dta_lk(DB_ENV *dbenv, u_int32_t rectype,
/* keep format similar to berkeley - except for the raw data -
dump that in more readable format */
printf("[%lu][%lu] CUSTOM: add_dta_lk: rec: %lu txnid %lx"
" prevlsn[%lu][%lu] utxnid \%"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64,
" prevlsn[%lu][%lu] utxnid %"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64,
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)addop->txnid->txnid, (u_long)addop->prev_lsn.file,
(u_long)addop->prev_lsn.offset, addop->txnid->utxnid, (u_long)lprev->file,
Expand Down Expand Up @@ -2504,7 +2504,7 @@ int handle_undo_add_ix(DB_ENV *dbenv, u_int32_t rectype,
/* keep format similar to berkeley - except for the raw data -
dump that in more readable format */
printf("[%lu][%lu] CUSTOM: add_ix: %lu txnid %lx prevlsn[%lu][%lu] "
"prevllsn[%lu][%lu] utxnid \%"PRIx64" tranid %016" PRIx64 "\n",
"prevllsn[%lu][%lu] utxnid %"PRIx64" tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)addop->txnid->txnid, (u_long)addop->prev_lsn.file,
(u_long)addop->prev_lsn.offset, (u_long)lprev->file,
Expand Down Expand Up @@ -2593,7 +2593,7 @@ int handle_undo_add_ix_lk(DB_ENV *dbenv, u_int32_t rectype,
/* keep format similar to berkeley - except for the raw data -
dump that in more readable format */
printf("[%lu][%lu] CUSTOM: add_ix_lk: %lu txnid %lx prevlsn[%lu][%lu] "
"prevllsn[%lu][%lu] utxnid \%"PRIx64" tranid %016" PRIx64 "\n",
"prevllsn[%lu][%lu] utxnid %"PRIx64" tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)addop->txnid->txnid, (u_long)addop->prev_lsn.file,
(u_long)addop->prev_lsn.offset, (u_long)lprev->file,
Expand Down Expand Up @@ -2716,7 +2716,7 @@ int handle_commit(DB_ENV *dbenv, u_int32_t rectype,
lprev = &args->prevllsn;
/* keep format similar to berkeley - except for the raw data -
dump that in more readable format */
printf("[%lu][%lu] CUSTOM: %s: %lu txnid %lx prevlsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: %s: %lu txnid %lx prevlsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset,
args->isabort ? "abort" : "commit", (u_long)rectype,
Expand Down Expand Up @@ -2775,7 +2775,7 @@ int handle_start(DB_ENV *dbenv, u_int32_t rectype, llog_ltran_start_args *args,

case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
printf("[%lu][%lu] CUSTOM: start: %lu txnid %lx prevlsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: start: %lu txnid %lx prevlsn[%lu][%lu] utxnid %"PRIx64" "
"tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)args->txnid->txnid, (u_long)args->prev_lsn.file,
Expand Down Expand Up @@ -2824,7 +2824,7 @@ int handle_comprec(DB_ENV *dbenv, u_int32_t rectype,

case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
printf("[%lu][%lu] CUSTOM: comprec: %lu txnid %lx prevlsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: comprec: %lu txnid %lx prevlsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)args->txnid->txnid, (u_long)args->prev_lsn.file,
Expand Down Expand Up @@ -3091,7 +3091,7 @@ int handle_undo_del_dta(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &delop->prevllsn;
printf("[%lu][%lu] CUSTOM: del_dta %lu txnid %lx prevlsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: del_dta %lu txnid %lx prevlsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)delop->txnid->txnid, (u_long)delop->prev_lsn.file,
Expand Down Expand Up @@ -3168,7 +3168,7 @@ int handle_undo_del_ix(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &delop->prevllsn;
printf("[%lu][%lu] CUSTOM: del_ix %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: del_ix %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)delop->txnid->txnid, (u_long)delop->prev_lsn.file,
Expand Down Expand Up @@ -3247,7 +3247,7 @@ int handle_undo_upd_dta(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &updop->prevllsn;
printf("[%lu][%lu] CUSTOM: upd_dta %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: upd_dta %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)updop->txnid->txnid, (u_long)updop->prev_lsn.file,
Expand Down Expand Up @@ -3347,7 +3347,7 @@ int handle_undo_upd_ix(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &updop->prevllsn;
printf("[%lu][%lu] CUSTOM: upd_ix %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: upd_ix %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016llx\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)updop->txnid->txnid, (u_long)updop->prev_lsn.file,
Expand Down Expand Up @@ -3709,7 +3709,7 @@ int handle_repblob(DB_ENV *dbenv, u_int32_t rectype, llog_repblob_args *repblob,

if (op == DB_TXN_PRINT || op == DB_TXN_SNAPISOL) {
printf("[%u][%u] CUSTOM: repblob: rec: %u txnid %x"
" prevlsn[%u][%u] utxnid \%"PRIx64" sessionid %d seqno %d dtasz %d\n\n",
" prevlsn[%u][%u] utxnid %"PRIx64" sessionid %d seqno %d dtasz %d\n\n",
lsn->file, lsn->offset, rectype, repblob->txnid->txnid,
repblob->prev_lsn.file, repblob->prev_lsn.offset, repblob->txnid->utxnid,
repblob->sessionid, repblob->seqno, repblob->data.size);
Expand Down Expand Up @@ -3762,7 +3762,7 @@ int handle_undo_del_dta_lk(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &delop->prevllsn;
printf("[%lu][%lu] CUSTOM: del_dta_lk %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: del_dta_lk %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)delop->txnid->txnid, (u_long)delop->prev_lsn.file,
Expand Down Expand Up @@ -3846,7 +3846,7 @@ int handle_undo_del_ix_lk(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &delop->prevllsn;
printf("[%lu][%lu] CUSTOM: del_ix_lk %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: del_ix_lk %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)delop->txnid->txnid, (u_long)delop->prev_lsn.file,
Expand Down Expand Up @@ -3930,7 +3930,7 @@ int handle_undo_upd_dta_lk(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &updop->prevllsn;
printf("[%lu][%lu] CUSTOM: upd_dta_lk %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: upd_dta_lk %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)updop->txnid->txnid, (u_long)updop->prev_lsn.file,
Expand Down Expand Up @@ -4033,7 +4033,7 @@ int handle_undo_upd_ix_lk(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
lprev = &updop->prevllsn;
printf("[%lu][%lu] CUSTOM: upd_ix_lk %lu txnid %lx prelsn[%lu][%lu] utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: upd_ix_lk %lu txnid %lx prelsn[%lu][%lu] utxnid %"PRIx64" "
"prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)updop->txnid->txnid, (u_long)updop->prev_lsn.file,
Expand Down Expand Up @@ -4103,7 +4103,7 @@ int handle_rowlocks_log_bench(DB_ENV *dbenv, u_int32_t rectype,

case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
printf("[%lu][%lu] CUSTOM: rowlocks_log_bench %lu txnid %lx utxnid \%"PRIx64" "
printf("[%lu][%lu] CUSTOM: rowlocks_log_bench %lu txnid %lx utxnid %"PRIx64" "
"prelsn[%lu][%lu] prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)rl_log_bench->txnid->txnid,
Expand Down Expand Up @@ -4158,7 +4158,7 @@ int handle_commit_log_bench(DB_ENV *dbenv, u_int32_t rectype,
case DB_TXN_SNAPISOL:
case DB_TXN_PRINT:
printf("[%lu][%lu] CUSTOM: commit_log_bench %lu txnid %lx "
"prelsn[%lu][%lu] utxnid \%"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
"prelsn[%lu][%lu] utxnid %"PRIx64" prevllsn[%lu][%lu] tranid %016" PRIx64 "\n",
(u_long)lsn->file, (u_long)lsn->offset, (u_long)rectype,
(u_long)c_log_bench->txnid->txnid,
(u_long)c_log_bench->prev_lsn.file,
Expand Down
2 changes: 1 addition & 1 deletion bdb/temptable.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <sbuf2.h>
#include "bdb_int.h"
#include <list.h>
#include <plhash.h>
#include <plhash_glue.h>
#include <sys/time.h>

#ifdef _LINUX_SOURCE
Expand Down
3 changes: 1 addition & 2 deletions berkdb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,7 @@ elseif(${CMAKE_C_COMPILER_ID} STREQUAL Clang OR ${CMAKE_C_COMPILER_ID} STREQUAL
endif()

if (COMDB2_BBCMAKE)
target_link_libraries(db PUBLIC lz4 openssl)
comdb2_bb_target(db)
comdb2_lib_target(db)
endif()

option(PAGELIST_DEBUG "Enable debug logic for pagelist dumping and loading" OFF)
Expand Down
2 changes: 1 addition & 1 deletion berkdb/build/db.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <list.h>
#include <pool.h>
#include <plhash.h>
#include <plhash_glue.h>
#include <dlmalloc.h>
#include <thdpool.h>
#include <mem_berkdb.h>
Expand Down
2 changes: 1 addition & 1 deletion berkdb/db/db_dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static const char revid[] = "$Id: db_dispatch.c,v 11.145 2003/09/10 20:31:18 ube
#include <stdio.h>
#endif

#include <plhash.h>
#include <plhash_glue.h>
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/db_shash.h"
Expand Down
2 changes: 1 addition & 1 deletion berkdb/db/trigger_subscription.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <stdlib.h>
#include <string.h>
#include <plhash.h>
#include <plhash_glue.h>
#include "dbinc/trigger_subscription.h"
#include <sys_wrap.h>

Expand Down
2 changes: 1 addition & 1 deletion berkdb/dbinc/db_dispatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#ifndef _DB_DISPATCH_H_
#define _DB_DISPATCH_H_

#include <plhash.h>
#include <plhash_glue.h>
/*
* Declarations and typedefs for the list of transaction IDs used during
* recovery. This is a generic list used to pass along whatever information
Expand Down
2 changes: 1 addition & 1 deletion berkdb/env/env_open.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static const char revid[] = "$Id: env_open.c,v 11.144 2003/09/13 18:39:34 bostic
#include <unistd.h>
#include <limits.h>

#include <plhash.h>
#include <plhash_glue.h>
#include "db_int.h"
#include "dbinc/crypto.h"
#include "dbinc/db_page.h"
Expand Down
2 changes: 1 addition & 1 deletion berkdb/log/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static const char revid[] = "$Id: log.c,v 11.133 2003/09/13 19:20:37 bostic Exp
#include "dbinc/txn.h"
#include <logmsg.h>

#include <plhash.h>
#include <plhash_glue.h>

static int __log_init __P((DB_ENV *, DB_LOG *));
static int __log_recover __P((DB_LOG *));
Expand Down
2 changes: 1 addition & 1 deletion berkdb/rep/rep_record.c
Original file line number Diff line number Diff line change
Expand Up @@ -4209,7 +4209,7 @@ logical_record_file_affinity(int rectype)

int gbl_processor_thd_poll;

#include <plhash.h>
#include <plhash_glue.h>

struct fuid_integer {
u_int8_t fuid[DB_FILE_ID_LEN];
Expand Down
15 changes: 5 additions & 10 deletions cdb2api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,24 @@ set_source_files_properties(
)

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/bbinc
${PROJECT_SOURCE_DIR}/util
${PROJECT_BINARY_DIR}/protobuf
${PROTOBUF-C_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
)

if (EXTRA_PLUGINS)
include(${EXTRA_PLUGINS}/cdb2api/CMakeLists.txt)
endif()

# common obj files for .so/.dylib and .a
add_definitions(-DDISABLE_HOSTADDR_CACHE)
add_definitions(-DSBUF2_SERVER=0)

if (COMDB2_BBCMAKE)
include(${EXTRA_PLUGINS}/cdb2api/cdb2api.cmake)
add_library(opencdb2api STATIC ${src})
add_dependencies(opencdb2api proto)
target_link_libraries(opencdb2api PUBLIC protobuf-c)
if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
target_link_libraries(opencdb2api PUBLIC libunwind)
endif()
comdb2_bb_target(opencdb2api)
add_dependencies(opencdb2api proto)
target_link_libraries(opencdb2api PUBLIC cdb2api)
comdb2_lib_target(opencdb2api)
else()

add_library(cdb2api STATIC ${src})
Expand Down
2 changes: 1 addition & 1 deletion datetime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ include_directories(
)
add_dependencies(tz mem)
if (COMDB2_BBCMAKE)
comdb2_bb_target(tz)
comdb2_lib_target(tz)
endif()
2 changes: 1 addition & 1 deletion datetime/localtimedb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@ static void db_settzname(void)
}
}

#include <plhash.h>
#include <plhash_glue.h>

#define NAME_KEY_MAX 40

Expand Down
Loading