diff options
author | Luca Muscariello <lumuscar+fdio@cisco.com> | 2019-02-01 20:00:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-02-01 20:00:21 +0000 |
commit | 79f9c336d9d8af63e322e3c52f09fec3d7cb3c2b (patch) | |
tree | 7674e218ee813ff7aec6868ab86a1dd6c40af28f /hicn-light/src/core/logger.c | |
parent | e8fabe3f6313a3b9050fe16458e4714d9dce426e (diff) | |
parent | f5a0b8a5e24cede05e15ab696f0e15257a503525 (diff) |
Merge "[HICN24] Windows compatibility for hicn-light"
Diffstat (limited to 'hicn-light/src/core/logger.c')
-rw-r--r-- | hicn-light/src/core/logger.c | 5 |
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> |