session BUGFIX missing include
* \author Michal Vasko <mvasko@cesnet.cz>
* \brief libnetconf2 - general session functions
*
- * Copyright (c) 2015 - 2017 CESNET, z.s.p.o.
+ * Copyright (c) 2015 - 2018 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
*
* https://opensource.org/licenses/BSD-3-Clause
*/
+#define _DEFAULT_SOURCE
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <pthread.h>
#include <sys/time.h>
#include <time.h>
