missing includes

This commit is contained in:
VaclavT 2022-01-05 14:34:57 +01:00
parent ebb69b6096
commit d275be643c
5 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#include <cerrno> #include <cerrno>
#include <functional>
#include <stdexcept>
#include "tcpnet.h" #include "tcpnet.h"

View File

@ -1,5 +1,6 @@
#include "ml_date.h" #include "ml_date.h"
#include <cstring>
long now() { // get-universal-time long now() { // get-universal-time
time_t t = std::time(nullptr); time_t t = std::time(nullptr);

View File

@ -2,6 +2,6 @@
namespace usql { namespace usql {
Exception::Exception(std::string msg) : std::runtime_error(msg) {} Exception::Exception(std::string msg) : std::runtime_error(msg) {};
} // namespace } // namespace

View File

@ -1,6 +1,8 @@
#pragma once #pragma once
#include <string> #include <string>
#include <stdexcept>
namespace usql { namespace usql {

View File

@ -2,6 +2,7 @@
#include <string> #include <string>
#include <map> #include <map>
#include <vector>
namespace usql { namespace usql {