diff options
author | 2024-11-26 18:39:28 +0100 | |
---|---|---|
committer | 2024-11-28 17:32:39 +0100 | |
commit | 9bdf7fe983311e8c573d7c466c2006059645c4ba (patch) | |
tree | 293fe31fda5a98b03d83fe4fe6e821a4664264e6 /src/termcolors.c | |
parent | 7d3cc96077d859fcda6dfe2a6bd2b1eb589af66d (diff) | |
download | libimobiledevice-glue-9bdf7fe983311e8c573d7c466c2006059645c4ba.tar.gz libimobiledevice-glue-9bdf7fe983311e8c573d7c466c2006059645c4ba.tar.bz2 |
Fix compilation on MSVC
Diffstat (limited to 'src/termcolors.c')
-rw-r--r-- | src/termcolors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/termcolors.c b/src/termcolors.c index 798e47a..6199bed 100644 --- a/src/termcolors.c +++ b/src/termcolors.c @@ -28,7 +28,9 @@ #include <stdio.h> #include <stdlib.h> +#ifndef _MSC_VER #include <unistd.h> +#endif #include <string.h> #include <stdarg.h> |