FIX: missing include files due to newer compilers

This commit is contained in:
ps 2014-06-28 16:01:41 +00:00
parent 33f53a7403
commit df573130df
5 changed files with 7 additions and 0 deletions

View file

@ -19,6 +19,8 @@
*/ */
#include "Configfile.h" #include "Configfile.h"
#include <unistd.h>
extern LOGGER_CLASS hermes_log; extern LOGGER_CLASS hermes_log;
/** /**

View file

@ -19,6 +19,7 @@
*/ */
#include "Database.h" #include "Database.h"
#include <unistd.h>
extern LOGGER_CLASS hermes_log; extern LOGGER_CLASS hermes_log;
void Database::setDatabaseFile(string p_dbfile) void Database::setDatabaseFile(string p_dbfile)

View file

@ -22,6 +22,7 @@
#include "hermes.h" #include "hermes.h"
#include <stdlib.h>
#include <iostream> #include <iostream>
#include <string> #include <string>
#include <sqlite3.h> #include <sqlite3.h>

View file

@ -18,6 +18,7 @@
* @author Juan José Gutiérrez de Quevedo <juanjo@gutierrezdequevedo.com> * @author Juan José Gutiérrez de Quevedo <juanjo@gutierrezdequevedo.com>
*/ */
#include "Socket.h" #include "Socket.h"
#include <unistd.h>
int Socket::created_sockets=0; int Socket::created_sockets=0;

View file

@ -19,6 +19,8 @@
*/ */
#include "Utils.h" #include "Utils.h"
#include <unistd.h>
extern Configfile cfg; extern Configfile cfg;
extern LOGGER_CLASS hermes_log; extern LOGGER_CLASS hermes_log;