summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/core/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/core/logger.c')
-rw-r--r--hicn-light/src/core/logger.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hicn-light/src/core/logger.c b/hicn-light/src/core/logger.c
index cac3000e2..ebc8dc5a1 100644
--- a/hicn-light/src/core/logger.c
+++ b/hicn-light/src/core/logger.c
@@ -13,12 +13,15 @@
* limitations under the License.
*/
+#ifndef _WIN32
+#include <unistd.h>
+#endif
+
#include <errno.h>
#include <src/config.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <parc/assert/parc_Assert.h>