server session & time BUGFIX add missing compat header
diff --git a/src/session_server_tls.c b/src/session_server_tls.c
index f25b6c3..5fc88f9 100644
--- a/src/session_server_tls.c
+++ b/src/session_server_tls.c
@@ -24,6 +24,7 @@
 #include <openssl/x509v3.h>
 #include <openssl/x509.h>
 
+#include "compat.h"
 #include "session_server.h"
 #include "session_server_ch.h"
 #include "libnetconf.h"
diff --git a/src/time.c b/src/time.c
index a39d3c6..72bf9b7 100644
--- a/src/time.c
+++ b/src/time.c
@@ -19,6 +19,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "compat.h"
 #include "libnetconf.h"
 
 API time_t