Skip to content

Commit

Permalink
ascli-utils.c: Don't include unistd.h on Windows
Browse files Browse the repository at this point in the history
It's not used there, and it's really a wrapper header in MinGW that include
various Windows system headers and define things to ease porting POSIX items
to Windows.
  • Loading branch information
fanc999-1 committed Jul 17, 2024
1 parent 846371f commit 3297afa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/ascli-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@

#include <config.h>
#include <stdio.h>
#include <unistd.h>
#include <glib/gi18n-lib.h>

#ifndef G_OS_WIN32
#include <unistd.h>
#endif

#include "as-pool-private.h"

/**
Expand Down

0 comments on commit 3297afa

Please sign in to comment.