compat CHANGE use compatibility GNU functions for non-GNU systems
diff --git a/src/session_client.c b/src/session_client.c
index 36c9c33..b9cc295 100644
--- a/src/session_client.c
+++ b/src/session_client.c
@@ -34,6 +34,7 @@
 
 #include <libyang/libyang.h>
 
+#include "compat.h"
 #include "libnetconf.h"
 #include "session_client.h"
 #include "messages_client.h"