diff options
author | Adrian Perez de Castro <aperez@igalia.com> | 2019-08-05 13:52:18 +0300 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2019-12-28 16:12:15 +0200 |
commit | 5354dee2f7ee99792a38a3a13f85da90c654f7ee (patch) | |
tree | d815208aba67ffc6bf4d9e0fe64c6e13396a639a /src/context-priv.c | |
parent | f09ae987bffc2ede00341bc6f0e903ae6810def5 (diff) | |
download | xorg-lib-libxkbcommon-5354dee2f7ee99792a38a3a13f85da90c654f7ee.tar.gz |
MSVC: Use <io.h> as an alternative for <unistd.h>
Only the input/output functions from <unistd.h> options are used, so
using <io.h> when building with MSVC should be enough. The inclusion
of the header in context-priv.c does not seem to be needed (tested
on GNU/Linux) and so it is removed.
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src/context-priv.c')
-rw-r--r-- | src/context-priv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/context-priv.c b/src/context-priv.c index dc85651..3c15440 100644 --- a/src/context-priv.c +++ b/src/context-priv.c @@ -29,7 +29,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <errno.h> -#include <unistd.h> #include "xkbcommon/xkbcommon.h" #include "utils.h" |